summaryrefslogtreecommitdiff
path: root/src/include/libpq/libpq-be.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-09-15 12:32:57 +0000
committerMagnus Hagander <magnus@hagander.net>2008-09-15 12:32:57 +0000
commit9872381090cf4cd45748422df67f1c64b31c5ead (patch)
tree88ea890a635170613f9dcec50170a400c13d310d /src/include/libpq/libpq-be.h
parentb850cf61bd5fc4822cf9e73bf28b3261786f6e0b (diff)
downloadpostgresql-9872381090cf4cd45748422df67f1c64b31c5ead.tar.gz
Parse pg_hba.conf in postmaster, instead of once in each backend for
each connection. This makes it possible to catch errors in the pg_hba file when it's being reloaded, instead of silently reloading a broken file and failing only when a user tries to connect. This patch also makes the "sameuser" argument to ident authentication optional.
Diffstat (limited to 'src/include/libpq/libpq-be.h')
-rw-r--r--src/include/libpq/libpq-be.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/libpq/libpq-be.h b/src/include/libpq/libpq-be.h
index 6927da2fd0..4d5e0039c8 100644
--- a/src/include/libpq/libpq-be.h
+++ b/src/include/libpq/libpq-be.h
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/libpq/libpq-be.h,v 1.66 2008/04/26 22:47:40 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/libpq/libpq-be.h,v 1.67 2008/09/15 12:32:57 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -121,8 +121,7 @@ typedef struct Port
/*
* Information that needs to be held during the authentication cycle.
*/
- UserAuth auth_method;
- char *auth_arg;
+ HbaLine *hba;
char md5Salt[4]; /* Password salt */
char cryptSalt[2]; /* Password salt */