pgsql: Use pg_pwrite() in more places.

2020-02-10 Thread Thomas Munro
Use pg_pwrite() in more places. This removes some lseek() system calls. Author: Thomas Munro Reviewed-by: Andres Freund Discussion: https://postgr.es/m/CA%2BhUKGJ%2BoHhnvqjn3%3DHro7xu-YDR8FPr0FL6LF35kHRX%3D_bUzg%40mail.gmail.com Branch -- master Details ---

pgsql: Stamp 9.4.26.

2020-02-10 Thread Tom Lane
Stamp 9.4.26. Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/30ffdd24d7222bc01183a56d536c236240674516 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

pgsql: Stamp 9.5.21.

2020-02-10 Thread Tom Lane
Stamp 9.5.21. Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d9b89f1939cc33f14bb8c3f01ced946eb0febaa5 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

pgsql: Stamp 9.6.17.

2020-02-10 Thread Tom Lane
Stamp 9.6.17. Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d48d8ba2361c93378d49050ff9526c8a7f289e34 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

pgsql: Stamp 10.12.

2020-02-10 Thread Tom Lane
Stamp 10.12. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/95d2576d023ec2a8b984472191b4e4be4205516e Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

pgsql: Stamp 11.7.

2020-02-10 Thread Tom Lane
Stamp 11.7. Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/a8423a99122bae8e90a3874a4466c39031657a55 Modified Files -- configure| 18 +- configure.in | 2 +- doc/bug.template

pgsql: Stamp 12.2.

2020-02-10 Thread Tom Lane
Stamp 12.2. Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/45b88269a353ad93744772791feb6d01bc7e1e42 Modified Files -- configure| 18 +- configure.in | 2 +- src/include/pg_config.h.in

pgsql: Canonicalize some URLs

2020-02-10 Thread Peter Eisentraut
Canonicalize some URLs Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2102ba4b586350957bf95b371432583239000164 Modified Files -- HISTORY | 2 +- README | 2 +- README.git | 2 +- src/bin/psql/copy.c | 2 +- 4 files

pgsql: psql: Remove one use of HAVE_UNIX_SOCKETS

2020-02-10 Thread Peter Eisentraut
psql: Remove one use of HAVE_UNIX_SOCKETS This use was not protecting any unportable code, it was just omitting the code because it wouldn't be used. Remove the use to reduce code complexity a bit. Discussion:

pgsql: Simplify passing of configure arguments to pg_config

2020-02-10 Thread Peter Eisentraut
Simplify passing of configure arguments to pg_config The previous system had configure put the value into the makefiles and then have the makefiles pass them to the build of pg_config. That was put in place when pg_config was a shell script. We can simplify that by having configure put the

pgsql: Change signature of TupleHashTableHash().

2020-02-10 Thread Jeff Davis
Change signature of TupleHashTableHash(). Commit 4eaea3db introduced TupleHashTableHash(), but the signature didn't match the other exposed functions. Separate it into internal and external versions. The external version hides the details behind an API more consistent with the other external

Re: pgsql: Fix page modification outside of critical section in GIN

2020-02-10 Thread Tom Lane
Alexander Korotkov writes: > Sorry for delayed response. Yes, my fix for oversight contain > oversight itself. I confirm the fix you've committed is correct. > Thank you! Thanks for checking! regards, tom lane

Re: pgsql: Fix page modification outside of critical section in GIN

2020-02-10 Thread Alexander Korotkov
On Sun, Feb 9, 2020 at 8:05 PM Tom Lane wrote: > > I wrote: > > Alexander Korotkov writes: > >> Fix page modification outside of critical section in GIN > > > I happened to notice, while reviewing stuff for the release notes, > > that this patch does not do what the commit message says. The > >

Re: pgsql: walreceiver uses a temporary replication slot by default

2020-02-10 Thread Peter Eisentraut
On 2020-01-23 21:49, Robert Haas wrote: On Tue, Jan 14, 2020 at 8:57 AM Peter Eisentraut wrote: walreceiver uses a temporary replication slot by default If no permanent replication slot is configured using primary_slot_name, the walreceiver now creates and uses a temporary replication slot.

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- REL_11_STABLE Details ---

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- master Details ---

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- REL_10_STABLE Details ---

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- REL_12_STABLE Details ---

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- REL9_5_STABLE Details ---

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- REL9_6_STABLE Details ---

pgsql: createuser: fix parsing of --connection-limit argument

2020-02-10 Thread Alvaro Herrera
createuser: fix parsing of --connection-limit argument The original coding failed to quote the argument properly. Reported-by: Daniel Gustafsson Discussion: 1b8ae66c-85ab-4728-9bb4-612e8e61c...@yesql.se Branch -- REL9_4_STABLE Details ---

pgsql: Translation updates

2020-02-10 Thread Peter Eisentraut
Translation updates Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: b0010b20ca9b3de3a7ca6e908948ffab7cd3f467 Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/3a1acb6b70eb06820c826b0eebb8848be5bc26e8 Modified Files

pgsql: Translation updates

2020-02-10 Thread Peter Eisentraut
Translation updates Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: fc4d6b13b6a369c443a8f573f3836c5759d1a919 Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/7f97b5e891d23db0e44f3292177c62fcb57bd766 Modified Files

pgsql: Translation updates

2020-02-10 Thread Peter Eisentraut
Translation updates Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: bcdfb83b81a7aa3c3948c0a5221f9c68d7010ac5 Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/326431670a876925d699e2be7a216a23ee2d32bf Modified Files

pgsql: Translation updates

2020-02-10 Thread Peter Eisentraut
Translation updates Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: cde576a776a749a424b649f24259486752c7884d Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/a6e11f4a1a5967d2f06fe48716141bf25ae623df Modified Files

pgsql: Translation updates

2020-02-10 Thread Peter Eisentraut
Translation updates Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: f6ff77b5adca07948a26a4d512ba339243ecacab Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/384ecd6efed809fecce08224c7cd37241cc0c602 Modified Files

pgsql: Translation updates

2020-02-10 Thread Peter Eisentraut
Translation updates Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: 85c682262712155b8026c05a3b09066e85a6af98 Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/c59b0be9885b40e1a555ece5d3d848575542ee8d Modified Files