postgresql/src/include
Marc G. Fournier 3a7c93e7f3 From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] password authentication

This patch adds support for plaintext password authentication.  To use
it, you add a line like

host         all         0.0.0.0       0.0.0.0           password  pg_pwd.conf


to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing
the usernames and password hashes in the format of the first two fields
of a Unix /etc/passwd file.  (Of course, you can use a specific database
name or IP instead.)

Then, to connect with a password through libpq, you use the PQconnectdb()
function, specifying the "password=" tag in the connect string and also
adding the tag "authtype=password".

I also added a command-line switch '-u' to psql that tells it to prompt
for a username and password and use password authentication.
1997-03-12 21:23:16 +00:00
..
access Added: UNIQUE feature to bulkload code. 1997-02-22 10:08:27 +00:00
bootstrap Change includes from "" to <> 1996-11-08 06:43:28 +00:00
catalog This is a set of single row character functions, defined for the datatype 1997-03-04 05:32:26 +00:00
commands Add attribute optimization statistics. 1997-02-07 16:24:12 +00:00
executor Added needed prototype. 1996-12-26 17:53:40 +00:00
lib All external function definitions now have prototypes that are checked. 1996-11-10 03:06:38 +00:00
libpq From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:23:16 +00:00
nodes From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:13:19 +00:00
optimizer Remove _PAGE_SIZE_ as recommended by Darren King. 1997-03-02 01:34:50 +00:00
parser Add attribute optimization statistics. 1997-02-07 16:24:12 +00:00
regex Make compile on AIX, Alpha OSF. Thanks Darren King, Igor Notanzon. 1996-12-15 09:05:53 +00:00
rewrite Compile and warning cleanup 1996-11-08 06:02:30 +00:00
storage From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:13:19 +00:00
tcop Use proper types so it compiles on DEC C89. Thanks Erik Bertelson. 1997-01-08 08:39:10 +00:00
utils From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:13:19 +00:00
c.h Remove WIN32 defines. They never worked. 1997-02-14 04:19:07 +00:00
config.h.in From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:23:16 +00:00
miscadmin.h Bring in a patch from Keith Parks to move the use of European dates 1997-01-26 15:32:28 +00:00
postgres_ext.h Fix bug: libpq clients (which include libpq-fe.h) won't compile. 1996-12-10 07:03:43 +00:00
postgres.h Fix bug: libpq clients (which include libpq-fe.h) won't compile. 1996-12-10 07:03:43 +00:00
strdup.h More stuff to make it compile on various ports. 1996-11-27 08:16:44 +00:00
version.h Goes with the recently added src/utils/version.c, will replace some stuff in 1996-11-11 14:24:38 +00:00