[COMMITTERS] pgsql: Prevent integer overflow with --progress >= 2148

2014-01-17 Thread Heikki Linnakangas
Prevent integer overflow with --progress >= 2148 If --progress=2148 or higher was given, the calculation of the next time to report overflowed, and pgbench would print a progress report very frequently. Kingter Wang Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/27

[COMMITTERS] pgsql: Define WIN32 when _WIN32 is set

2014-01-17 Thread Magnus Hagander
Define WIN32 when _WIN32 is set _WIN32 is set by the compiler, whereas our code uses WIN32 that is normally set through our build system. To make it possible to build extensions out of tree we cannot rely on that, so set the WIN32 symbol explicitly whenever the compiler has set _WIN32. Not settin

[COMMITTERS] pgsql: Show SSL encryption information when logging connections

2014-01-17 Thread Magnus Hagander
Show SSL encryption information when logging connections Expand the messages when log_connections is enabled to include the fact that SSL is used and the SSL cipher information. Dr. Andreas Kunert, review by Marko Kreen Branch -- master Details --- http://git.postgresql.org/pg/commitdif

[COMMITTERS] pgsql: Prevent double macro definition of WIN32.

2014-01-17 Thread Andrew Dunstan
Prevent double macro definition of WIN32. David Rowley. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/b64d956d583a64c9638bdcdc9cd2969a529dbcdc Modified Files -- src/include/c.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsq

[COMMITTERS] pgsql: Export set_latch_on_sigusr1 symbol for Windows.

2014-01-17 Thread Andrew Dunstan
Export set_latch_on_sigusr1 symbol for Windows. Per buildfarm currawong and grip from David Rowley. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/708c529c7fdeba9387825d746752fc6f439d781e Modified Files -- src/include/storage/procsignal.h |2 +- 1 fi

[COMMITTERS] pgsql: Add gen_random_uuid() to contrib/pgcrypto.

2014-01-17 Thread Tom Lane
Add gen_random_uuid() to contrib/pgcrypto. This function provides a way of generating version 4 (pseudorandom) UUIDs based on pgcrypto's PRNG. The main reason for doing this is that the OSSP UUID library depended on by contrib/uuid-ossp is becoming more and more of a porting headache, so we need

[COMMITTERS] pgsql: Minor code beautification in contrib/sslinfo.

2014-01-17 Thread Tom Lane
Minor code beautification in contrib/sslinfo. Static-ify some functions that didn't need to be exported, and improve a couple of comments. Gurjeet Singh Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/af9e3d652358664f2e749be2398428732121e317 Modified Files

[COMMITTERS] pgsql: Fix client-only installation

2014-01-17 Thread Peter Eisentraut
Fix client-only installation The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell B

[COMMITTERS] pgsql: Fix client-only installation

2014-01-17 Thread Peter Eisentraut
Fix client-only installation The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell B

[COMMITTERS] pgsql: Fix client-only installation

2014-01-17 Thread Peter Eisentraut
Fix client-only installation The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell B

[COMMITTERS] pgsql: Fix client-only installation

2014-01-17 Thread Peter Eisentraut
Fix client-only installation The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell B

[COMMITTERS] pgsql: Fix client-only installation

2014-01-17 Thread Peter Eisentraut
Fix client-only installation The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell B

[COMMITTERS] pgsql: Fix client-only installation

2014-01-17 Thread Peter Eisentraut
Fix client-only installation The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell B