OSDN Git Service

From: Phil Thompson <phil@river-bank.demon.co.uk>
authorMarc G. Fournier <scrappy@hub.org>
Mon, 26 Jan 1998 01:42:53 +0000 (01:42 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 26 Jan 1998 01:42:53 +0000 (01:42 +0000)
commitd5bbe2aca55bc833e38c768d7f82c129b8b70c83
tree47f4e1ecb3277869bb276e5433df335d920d1baf
parent91d983aa1140e3ae109684ff7c916583ed059e0e
From: Phil Thompson <phil@river-bank.demon.co.uk>

I've completed the patch to fix the protocol and authentication issues I
was discussing a couple of weeks ago.  The particular changes are:

- the protocol has a version number
- network byte order is used throughout
- the pg_hba.conf file is used to specify what method is used to
  authenticate a frontend (either password, ident, trust, reject, krb4
  or krb5)
- support for multiplexed backends is removed
- appropriate changes to man pages
- the -a switch to many programs to specify an authentication service
  no longer has any effect
- the libpq.so version number has changed to 1.1

The new backend still supports the old protocol so old interfaces won't
break.
41 files changed:
src/backend/libpq/auth.c
src/backend/libpq/be-dumpdata.c
src/backend/libpq/be-pqexec.c
src/backend/libpq/crypt.c
src/backend/libpq/hba.c
src/backend/libpq/password.c
src/backend/libpq/pg_hba.conf.sample
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomprim.c
src/backend/libpq/pqpacket.c
src/backend/postmaster/postmaster.c
src/backend/tcop/dest.c
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c
src/backend/utils/init/globals.c
src/include/c.h
src/include/libpq/auth.h
src/include/libpq/crypt.h
src/include/libpq/hba.h
src/include/libpq/libpq-be.h
src/include/libpq/libpq.h
src/include/libpq/password.h
src/include/libpq/pqcomm.h
src/interfaces/libpq/Makefile.in
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.h
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-misc.c
src/interfaces/libpq/libpq-fe.h
src/man/createdb.1
src/man/createuser.1
src/man/destroydb.1
src/man/destroyuser.1
src/man/libpq.3
src/man/pg_passwd.1
src/man/pgintro.1
src/man/postgres.1
src/man/postmaster.1
src/man/psql.1