mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
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.
This commit is contained in:
@@ -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}
|
||||
};
|
||||
|
||||
|
||||
@@ -176,9 +176,10 @@
|
||||
#
|
||||
# Misc
|
||||
#
|
||||
#default_transaction_isolation = 'read committed'
|
||||
#sql_inheritance = true
|
||||
#australian_timezones = false
|
||||
#deadlock_timeout = 1000
|
||||
#default_transaction_isolation = 'read committed'
|
||||
#max_expr_depth = 10000 # min 10
|
||||
#password_encryption = false
|
||||
#sql_inheritance = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user