postgresql/src/bin
Tom Lane ff402ae11b Improve handling of password reuse in src/bin/scripts programs.
This reverts most of commit 83dec5a71 in favor of having connectDatabase()
store the possibly-reusable password in a static variable, similar to the
coding we've had for a long time in pg_dump's version of that function.
To avoid possible problems with unwanted password reuse, make callers
specify whether it's reasonable to attempt to re-use the password.
This is a wash for cases where re-use isn't needed, but it is far simpler
for callers that do want that.  Functionally there should be no difference.

Even though we're past RC1, it seems like a good idea to back-patch this
into 9.5, like the prior commit.  Otherwise, if there are any third-party
users of connectDatabase(), they'll have to deal with an API change in
9.5 and then another one in 9.6.

Michael Paquier
2015-12-23 15:45:43 -05:00
..
initdb Use just one standalone-backend session for initdb's post-bootstrap steps. 2015-12-17 19:38:21 -05:00
pg_archivecleanup Make WAL-related utilities handle .partial WAL files properly. 2015-07-03 11:53:58 +09:00
pg_basebackup Cleanup some problems in new Perl test code 2015-12-07 19:39:57 -03:00
pg_config Translation updates 2015-06-28 23:56:55 -04:00
pg_controldata Cleanup some problems in new Perl test code 2015-12-07 19:39:57 -03:00
pg_ctl Refactor Perl test code 2015-12-02 18:46:16 -03:00
pg_dump In pg_dump, remember connection passwords no matter how we got them. 2015-12-23 14:25:53 -05:00
pg_resetxlog Make pg_controldata report newest XID with valid commit timestamp 2015-09-24 23:31:17 +09:00
pg_rewind Remove unreferenced function declarations. 2015-12-17 20:21:42 -05:00
pg_test_fsync Move pg_test_fsync from contrib/ to src/bin/ 2015-04-19 22:20:49 -04:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade pg_upgrade: fix CopyFile() on Windows to fail on file existence 2015-11-24 17:18:28 -05:00
pg_xlogdump Improve includes introduced in the replication origins patch. 2015-08-06 12:41:46 +02:00
pgbench pgbench: Change terminology from "threshold" to "parameter". 2015-12-18 13:24:51 -05:00
pgevent Update copyright for 2015 2015-01-06 11:43:47 -05:00
psql Fix calculation of space needed for parsed words in tab completion. 2015-12-21 15:08:56 -05:00
scripts Improve handling of password reuse in src/bin/scripts programs. 2015-12-23 15:45:43 -05:00
Makefile Move pg_xlogdump from contrib/ to src/bin/ 2015-04-21 19:03:49 -04:00