aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-08-15 18:42:16 +0000
committerBruce Momjian <bruce@momjian.us>2001-08-15 18:42:16 +0000
commit38bb1abcda9119957e836f731a1cfea6d2079499 (patch)
tree8f61d7b57cc171d8307a81dc7c4b7a382be58f43 /src/backend/utils/misc/guc.c
parent397f65d102b7f9998411f2a8c2d1c66dfe712320 (diff)
downloadpostgresql-38bb1abcda9119957e836f731a1cfea6d2079499.tar.gz
postgresql-38bb1abcda9119957e836f731a1cfea6d2079499.zip
Use MD5 for wire protocol encryption for >= 7.2 client/server.
Allow pg_shadow to be MD5 encrypted. Add ENCRYPTED/UNENCRYPTED option to CREATE/ALTER user. Add password_encryption postgresql.conf option. Update wire protocol version to 2.1.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r--src/backend/utils/misc/guc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index cc666047815..b0bb99817d1 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.45 2001/07/05 15:19:40 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.46 2001/08/15 18:42:15 momjian Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -80,6 +80,8 @@ bool SQL_inheritance = true;
bool Australian_timezones = false;
+bool Password_encryption = false;
+
#ifndef PG_KRB_SRVTAB
#define PG_KRB_SRVTAB ""
#endif
@@ -246,11 +248,12 @@ static struct config_bool
{"sql_inheritance", PGC_USERSET, &SQL_inheritance, true, NULL},
- {"australian_timezones", PGC_USERSET, &Australian_timezones,
- false, ClearDateCache},
+ {"australian_timezones", PGC_USERSET, &Australian_timezones, false, ClearDateCache},
{"fixbtree", PGC_POSTMASTER, &FixBTree, true, NULL},
+ {"password_encryption", PGC_USERSET, &Password_encryption, false, NULL},
+
{NULL, 0, NULL, false, NULL}
};