pgsql: Fix pg_basebackup with in-place tablespaces some more.

2023-04-18 Thread Robert Haas
Fix pg_basebackup with in-place tablespaces some more. Commit c6f2f01611d4f2c412e92eb7893f76fa590818e8 purported to make this work, but problems remained. In a plain-format backup, the files from an in-place tablespace got included in the tar file for the main tablespace, which is wrong but it's n

pgsql: Fix Utils.pm's locale-munging so that Perl itself is also affect

2023-04-18 Thread Tom Lane
Fix Utils.pm's locale-munging so that Perl itself is also affected. Utils.pm has a BEGIN block that editorializes on the locale-related environment variables, primarily in order to stabilize the behavior of child programs. It turns out that if the calling test script has already done "use locale"

pgsql: Remove useless argument from nbtree dedup function.

2023-04-18 Thread Peter Geoghegan
Remove useless argument from nbtree dedup function. _bt_dedup_pass()'s heapRel argument hasn't been needed or used since commit cf2acaf4dc made deleting any existing LP_DEAD index tuples the caller's responsibility. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/06

Re: pgsql: psql: add an optional execution-count limit to \watch.

2023-04-18 Thread Tom Lane
Aleksander Alekseev writes: >> The attached makes check-world pass for me under these conflicting >> environment settings, but it's kind of a scary change. Thoughts? > FWIW my MacOS and Linux laptops have no complaints about the patch. I realized that we don't actually need to "use locale" in U

pgsql: Update time zone data files to tzdata release 2023c.

2023-04-18 Thread Tom Lane
Update time zone data files to tzdata release 2023c. DST law changes in Egypt, Greenland, Morocco, and Palestine. When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with other timezones observing Moscow

pgsql: Update time zone data files to tzdata release 2023c.

2023-04-18 Thread Tom Lane
Update time zone data files to tzdata release 2023c. DST law changes in Egypt, Greenland, Morocco, and Palestine. When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with other timezones observing Moscow

pgsql: Update time zone data files to tzdata release 2023c.

2023-04-18 Thread Tom Lane
Update time zone data files to tzdata release 2023c. DST law changes in Egypt, Greenland, Morocco, and Palestine. When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with other timezones observing Moscow

pgsql: Update time zone data files to tzdata release 2023c.

2023-04-18 Thread Tom Lane
Update time zone data files to tzdata release 2023c. DST law changes in Egypt, Greenland, Morocco, and Palestine. When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with other timezones observing Moscow

pgsql: Update time zone data files to tzdata release 2023c.

2023-04-18 Thread Tom Lane
Update time zone data files to tzdata release 2023c. DST law changes in Egypt, Greenland, Morocco, and Palestine. When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with other timezones observing Moscow

pgsql: Update time zone data files to tzdata release 2023c.

2023-04-18 Thread Tom Lane
Update time zone data files to tzdata release 2023c. DST law changes in Egypt, Greenland, Morocco, and Palestine. When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the abbreviations MSK/MSD instead of numeric abbreviations, for consistency with other timezones observing Moscow

pgsql: Build ICU support by default.

2023-04-18 Thread Jeff Davis
Build ICU support by default. Discussion: https://postgr.es/m/82c4c816-06f6-d3e3-ba02-fca4a5cef065%40enterprisedb.com Reviewed-by: Peter Eisentraut Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/fcb21b3acdcb9a60313325618fd7080aa36f1626 Modified Files

Re: pgsql: Build ICU support by default.

2023-04-18 Thread Michael Paquier
On Tue, Apr 18, 2023 at 08:36:45PM +, Jeff Davis wrote: > Build ICU support by default. As guaibasaurus is telling, this broke the generation of the distribution tarball: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2023-04-19%2000%3A20%3A03 The problem is easy to r

pgsql: Fix various typos and incorrect/outdated name references

2023-04-18 Thread David Rowley
Fix various typos and incorrect/outdated name references Author: Alexander Lakhin Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3f58a4e2960a9509036b7d94beab64a747dc59dc Modified Files

Re: pgsql: Build ICU support by default.

2023-04-18 Thread Jeff Davis
On Wed, 2023-04-19 at 09:46 +0900, Michael Paquier wrote: > As guaibasaurus is telling, this broke the generation of the > distribution tarball: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2023-04-19%2000%3A20%3A03 > > The problem is easy to reproduce: just run "make

pgsql: Fix generation of distribution tarball

2023-04-18 Thread Michael Paquier
Fix generation of distribution tarball This issue can be reproduced by running `make dist` from the root of the tree. Error introduced in fcb21b3, where additions of links in installation.sgml require custom rules in standalone-profile.xsl to make sure that ./INSTALL is generated correctly for th

Re: pgsql: Build ICU support by default.

2023-04-18 Thread Michael Paquier
On Tue, Apr 18, 2023 at 09:23:43PM -0700, Jeff Davis wrote: > Please go ahead. Okay, done. -- Michael signature.asc Description: PGP signature