[COMMITTERS] pgsql: Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2

2016-03-28 Thread Tom Lane
Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2ec. INT64_MIN/MAX should be spelled PG_INT64_MIN/MAX, per well established convention in our sources. Less obviously, a symbol named DOUBLE causes problems on Windows builds, so rename that to DOUBLE_CONST; and rename INTEGER to INTE

[COMMITTERS] pgsql: Don't require a user mapping for FDWs to work.

2016-03-28 Thread Robert Haas
Don't require a user mapping for FDWs to work. Commit fbe5a3fb73102c2cfec114a67943f4474383 accidentally changed this behavior; put things back the way they were, and add some regression tests. Report by Andres Freund; patch by Ashutosh Bapat, with a bit of kibitzing by me. Branch -- mast

[COMMITTERS] pgsql: On all Windows platforms, not just Cygwin, use _timezone and _tz

2016-03-28 Thread Robert Haas
On all Windows platforms, not just Cygwin, use _timezone and _tzname. Up until now, we've been using timezone and tzname, but Visual Studio 2015 (for which we wish to add support) no longer declares those symbols. All versions since Visual Studio 2003 apparently support the underscore-equipped na

[COMMITTERS] pgsql: Fix typo in comment.

2016-03-28 Thread Robert Haas
Fix typo in comment. Thomas Munro Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/bd0f206f5588767aac2456ebf6a21f7a6344cd58 Modified Files -- src/backend/storage/ipc/latch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committ

[COMMITTERS] pgsql: pgbench: Support double constants and functions.

2016-03-28 Thread Robert Haas
pgbench: Support double constants and functions. The new functions are pi(), random(), random_exponential(), random_gaussian(), and sqrt(). I was worried that this would be slower than before, but, if anything, it actually turns out to be slightly faster, because we now express the built-in pgben

[COMMITTERS] pgsql: PostgresNode: initialize $timed_out if passed

2016-03-28 Thread Alvaro Herrera
PostgresNode: initialize $timed_out if passed Corrects an oversight in 2c83f435a3 where the $timed_out reference var isn't initialized; using it would require the caller to initialize it beforehand, which is cumbersome. Author: Craig Ringer Branch -- master Details --- http://git.postgr

[COMMITTERS] pgsql: Mention BRIN as able to do multi-column indexes

2016-03-28 Thread Alvaro Herrera
Mention BRIN as able to do multi-column indexes Documentation mentioned B-tree, GiST and GIN as able to do multicolumn indexes; I failed to add BRIN to the list. Author: Petr Jediný Reviewed-By: Fujii Masao, Emre Hasegeli Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/

[COMMITTERS] pgsql: Mention BRIN as able to do multi-column indexes

2016-03-28 Thread Alvaro Herrera
Mention BRIN as able to do multi-column indexes Documentation mentioned B-tree, GiST and GIN as able to do multicolumn indexes; I failed to add BRIN to the list. Author: Petr Jediný Reviewed-By: Fujii Masao, Emre Hasegeli Branch -- master Details --- http://git.postgresql.org/pg/commitd

[COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c.

2016-03-28 Thread Tom Lane
Sync tzload() and tzparse() APIs with IANA release tzcode2016c. This brings us a bit closer to matching upstream, but since it affects files outside src/timezone/, we might choose not to back-patch it. Hence keep it separate from the main update patch. Branch -- master Details --- http:/

[COMMITTERS] pgsql: Stamp 9.1.21.

2016-03-28 Thread Tom Lane
Stamp 9.1.21. Branch -- REL9_1_STABLE Details --- http://git.postgresql.org/pg/commitdiff/158a0fb254578e93cec7a940c780426217b79343 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

[COMMITTERS] pgsql: Stamp 9.2.16.

2016-03-28 Thread Tom Lane
Stamp 9.2.16. Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/4edcd5f5d23c55f60d6c11451437437611731fff Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

[COMMITTERS] pgsql: Stamp 9.3.12.

2016-03-28 Thread Tom Lane
Stamp 9.3.12. Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/a3c643938166abed9a390cdbd8a5df09bfe39523 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

[COMMITTERS] pgsql: Stamp 9.4.7.

2016-03-28 Thread Tom Lane
Stamp 9.4.7. Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/d77841d1cebd3514603af055f141a84c8e53cbd3 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

[COMMITTERS] pgsql: Stamp 9.5.2.

2016-03-28 Thread Tom Lane
Stamp 9.5.2. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/730811c7d1600b92d4bcb91ac66d2206cf3a06ef Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

[COMMITTERS] pgsql: Fix MSVC build for changes in zic.

2016-03-28 Thread Tom Lane
Fix MSVC build for changes in zic. zic now only needs zic.c, but I didn't realize knowledge about it was hardwired into Mkvcbuild.pm. Per buildfarm. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/f5f15ea6aad1b75c1c133a914cf29f9831089a6e Modified Files

[COMMITTERS] pgsql: Sync our copy of the timezone library with IANA release tzcode20

2016-03-28 Thread Tom Lane
Sync our copy of the timezone library with IANA release tzcode2016c. We hadn't done this in about six years, which proves to have been a mistake because there's been a lot of code churn upstream, making the merge rather painful. But putting it off any further isn't going to lessen the pain, and t

[COMMITTERS] pgsql: Document errhidecontext() where it ought to be documented.

2016-03-28 Thread Tom Lane
Document errhidecontext() where it ought to be documented. Seems to have been missed when this function was added. Noted while looking at David Steele's proposal to add another similar function. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/e5a4dea80f2506a7a565508

Re: [COMMITTERS] pgsql: Improve internationalization of messages involving type names

2016-03-28 Thread Tom Lane
Alvaro Herrera writes: > Also, change them all to use the same quoting convention, namely that > the function name is not to be quoted but the type name is. (I'm not > quite sure why this is so, but it's the clear majority.) Actually, I think the general convention is to NOT quote type names in

[COMMITTERS] pgsql: Update expected file from quoting change

2016-03-28 Thread Alvaro Herrera
Update expected file from quoting change I neglected to update this in 59a2111b23f. Per buildfarm Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/4b746f0d07c762cf4b421b59a14dfd053eda1761 Modified Files -- src/test/regress/expected/event_trigger.out | 2

[COMMITTERS] pgsql: pg_rewind: Improve internationalization

2016-03-28 Thread Alvaro Herrera
pg_rewind: Improve internationalization This is mostly cosmetic since two of the three changes are debug messages, and the third one is just a progress indicator. Author: Michaël Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/cad3edef4f51c37c4b4d8667a2e76a8

Re: [COMMITTERS] pgsql: Improve internationalization of messages involving type names

2016-03-28 Thread Stephen Frost
Alvaro, * Alvaro Herrera (alvhe...@alvh.no-ip.org) wrote: > Improve internationalization of messages involving type names > > Change the slightly different variations of the message > function FOO must return type BAR > to a single wording, removing the variability in type name so that they > a

[COMMITTERS] pgsql: Fix minor leak in pg_dump for ACCESS METHOD.

2016-03-28 Thread Alvaro Herrera
Fix minor leak in pg_dump for ACCESS METHOD. Bug reported by Coverity. Author: Michaël Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/37732a2555f109b09b7eedfc44a9de22e22268a4 Modified Files -- src/bin/pg_dump/pg_dump.c | 3 ++- 1 file changed, 2

[COMMITTERS] pgsql: Improve internationalization of messages involving type names

2016-03-28 Thread Alvaro Herrera
Improve internationalization of messages involving type names Change the slightly different variations of the message function FOO must return type BAR to a single wording, removing the variability in type name so that they all create a single translation entry; since the type name is not to be

[COMMITTERS] pgsql: psql tab-complete for CREATE/DROP ACCESS METHOD

2016-03-28 Thread Teodor Sigaev
psql tab-complete for CREATE/DROP ACCESS METHOD Alexander Korotkov Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/559e7a0a6d4450c09825055e3d255d30ee869c67 Modified Files -- src/bin/psql/tab-complete.c | 13 + 1 file changed, 13 insertions(+)

[COMMITTERS] pgsql: Fix comment in pg_dump.

2016-03-28 Thread Teodor Sigaev
Fix comment in pg_dump. It was missed in 473b93287040b20017cc25a157cffdc5b978c254, CREATE ACCESS METHOD Alexander Korotkov Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/dabd255d584785c61b1187f10b7bdbf99022ae2d Modified Files -- src/bin/pg_dump/pg_dump

[COMMITTERS] pgsql: Translation updates

2016-03-28 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: e6b48ec6c3b5131c5fbfa642b5e56814f088e8d6 Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/190e273416968205db5110a561f5a314ad4b0119 Modified Files -

[COMMITTERS] pgsql: Translation updates

2016-03-28 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: 515f3c859e6f29c11e1e7749591508d6fb761c2c Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/a08a6dca995528cbf011cd8251daf1c190dd324d Modified Files -

[COMMITTERS] pgsql: Translation updates

2016-03-28 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: dbf5cd90475f35d96a3df107a00e7fea082c6b89 Branch -- REL9_1_STABLE Details --- http://git.postgresql.org/pg/commitdiff/83b228a0babbbd637e830796a670a18a468732d5 Modified Files -

[COMMITTERS] pgsql: Translation updates

2016-03-28 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: 4891e88b1972d0091e8e5cefd145600801ba58be Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/e0f4c9e7c5dbeec4d63da0a3dd60c6159bd3ffac Modified Files -

[COMMITTERS] pgsql: Translation updates

2016-03-28 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: 0ffb9ae13cb7e2a9480ed8ee34071074bd80a7aa Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/d6e740129a1be7ef751d976c21b48904e151e3be Modified Files -