pgsql: Fix typo in bufpage.h.

2024-08-05 Thread Amit Kapila
Fix typo in bufpage.h.

Author: Senglee Choi
Reviewed-by: Tender Wang
Discussion: 
https://postgr.es/m/CACUsy79U0=S5zWEf6D57F=vb7roea86xfy6oovdz58jrcro...@mail.gmail.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/b5df24e52044abfa6fe20a568ed8bfcb9761a090

Modified Files
--
src/include/storage/bufpage.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgsql: Translation updates

2024-08-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 09a5036e19350293c332e686d66c636762f7a454

Branch
--
REL_15_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/8b57eb67e8428d93f42f603a917e610477a08821

Modified Files
--
src/backend/po/de.po | 2012 ++---
src/backend/po/es.po | 5203 +-
src/backend/po/ja.po | 1878 ++--
src/backend/po/ru.po | 2014 ++---
src/backend/po/sv.po | 4187 +--
src/bin/initdb/po/es.po  |2 +-
src/bin/pg_amcheck/po/es.po  |2 +-
src/bin/pg_archivecleanup/po/es.po   |2 +-
src/bin/pg_basebackup/po/es.po   |  198 +-
src/bin/pg_checksums/po/es.po|   52 +-
src/bin/pg_config/po/es.po   |2 +-
src/bin/pg_controldata/po/es.po  |   20 +-
src/bin/pg_ctl/po/es.po  |2 +-
src/bin/pg_dump/po/es.po |  343 +--
src/bin/pg_dump/po/ru.po |  130 +-
src/bin/pg_resetwal/po/es.po |2 +-
src/bin/pg_rewind/po/es.po   |   85 +-
src/bin/pg_test_fsync/po/es.po   |2 +-
src/bin/pg_test_timing/po/es.po  |2 +-
src/bin/pg_upgrade/po/es.po  |  161 +-
src/bin/pg_upgrade/po/ru.po  |2 +-
src/bin/pg_upgrade/po/sv.po  |  270 +-
src/bin/pg_verifybackup/po/es.po |   36 +-
src/bin/pg_verifybackup/po/ru.po |   36 +-
src/bin/pg_waldump/po/es.po  |   79 +-
src/bin/psql/po/es.po| 1730 +--
src/bin/scripts/po/es.po |  122 +-
src/bin/scripts/po/sv.po |  184 +-
src/interfaces/ecpg/ecpglib/po/es.po |2 +-
src/interfaces/ecpg/preproc/po/es.po |  135 +-
src/interfaces/libpq/po/es.po|  230 +-
src/interfaces/libpq/po/ru.po|6 +-
src/pl/plperl/po/es.po   |2 +-
src/pl/plpgsql/src/po/es.po  |  262 +-
src/pl/plpgsql/src/po/ru.po  |  168 +-
src/pl/plpython/po/es.po |   54 +-
src/pl/plpython/po/ru.po |   56 +-
src/pl/tcl/po/de.po  |   33 +-
src/pl/tcl/po/es.po  |   33 +-
src/pl/tcl/po/fr.po  |   41 +-
src/pl/tcl/po/ja.po  |   40 +-
src/pl/tcl/po/ru.po  |   37 +-
src/pl/tcl/po/sv.po  |   41 +-
43 files changed, 9984 insertions(+), 9914 deletions(-)



pgsql: Translation updates

2024-08-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 4040aedd08d20b68c9840873bded5493b136a4a9

Branch
--
REL_14_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/426a224a6cb8f41776949eb20e40457150e8ee6e

Modified Files
--
src/backend/po/de.po | 2026 +++
src/backend/po/es.po | 4628 +-
src/backend/po/fr.po | 1666 ++--
src/backend/po/ja.po | 2128 
src/backend/po/ru.po | 2028 +++
src/backend/po/sv.po | 3923 ++--
src/bin/initdb/po/es.po  |2 +-
src/bin/pg_amcheck/po/es.po  |2 +-
src/bin/pg_archivecleanup/po/es.po   |2 +-
src/bin/pg_basebackup/po/es.po   |  180 +-
src/bin/pg_checksums/po/es.po|2 +-
src/bin/pg_config/po/es.po   |2 +-
src/bin/pg_controldata/po/es.po  |   20 +-
src/bin/pg_ctl/po/es.po  |2 +-
src/bin/pg_dump/po/es.po |  360 +--
src/bin/pg_dump/po/ru.po |  130 +-
src/bin/pg_resetwal/po/es.po |2 +-
src/bin/pg_rewind/po/es.po   |   59 +-
src/bin/pg_test_fsync/po/es.po   |2 +-
src/bin/pg_test_timing/po/es.po  |2 +-
src/bin/pg_upgrade/po/de.po  |  116 +-
src/bin/pg_upgrade/po/es.po  |  155 +-
src/bin/pg_upgrade/po/fr.po  |  129 +-
src/bin/pg_upgrade/po/ja.po  |  123 +-
src/bin/pg_upgrade/po/ru.po  |  118 +-
src/bin/pg_upgrade/po/sv.po  |  240 +-
src/bin/pg_verifybackup/po/es.po |   36 +-
src/bin/pg_verifybackup/po/ru.po |   36 +-
src/bin/pg_waldump/po/es.po  |   59 +-
src/bin/psql/po/es.po| 1649 ++--
src/bin/scripts/po/es.po |  117 +-
src/bin/scripts/po/sv.po |  133 +-
src/interfaces/ecpg/ecpglib/po/es.po |2 +-
src/interfaces/ecpg/preproc/po/es.po |  131 +-
src/interfaces/libpq/po/es.po|  210 +-
src/interfaces/libpq/po/ru.po|6 +-
src/pl/plperl/po/es.po   |2 +-
src/pl/plpgsql/src/po/es.po  |  260 +-
src/pl/plpgsql/src/po/ru.po  |  164 +-
src/pl/plpython/po/es.po |   54 +-
src/pl/plpython/po/ru.po |   56 +-
src/pl/tcl/po/de.po  |   47 +-
src/pl/tcl/po/es.po  |   33 +-
src/pl/tcl/po/fr.po  |   78 +-
src/pl/tcl/po/ja.po  |   38 +-
src/pl/tcl/po/ru.po  |   37 +-
src/pl/tcl/po/sv.po  |   51 +-
47 files changed, 10725 insertions(+), 10521 deletions(-)



pgsql: Translation updates

2024-08-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 2a4e0c192e2738ce2451e6d6970dcb2210d31800

Branch
--
REL_16_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/d0311064041ad02b488b19caa7dd830ffd8e912a

Modified Files
--
src/backend/po/de.po | 2135 
src/backend/po/es.po | 9698 --
src/backend/po/ja.po | 2351 
src/backend/po/ru.po | 2137 
src/backend/po/sv.po | 5008 --
src/bin/initdb/po/es.po  |  306 +-
src/bin/pg_amcheck/po/es.po  |4 +-
src/bin/pg_archivecleanup/po/es.po   |2 +-
src/bin/pg_basebackup/po/es.po   |  200 +-
src/bin/pg_checksums/po/es.po|   52 +-
src/bin/pg_config/po/es.po   |2 +-
src/bin/pg_controldata/po/es.po  |   20 +-
src/bin/pg_ctl/po/es.po  |2 +-
src/bin/pg_dump/po/es.po |  330 +-
src/bin/pg_dump/po/ru.po |  132 +-
src/bin/pg_resetwal/po/es.po |2 +-
src/bin/pg_rewind/po/es.po   |   85 +-
src/bin/pg_test_fsync/po/es.po   |2 +-
src/bin/pg_test_timing/po/es.po  |2 +-
src/bin/pg_upgrade/po/es.po  |2 +-
src/bin/pg_upgrade/po/ru.po  |2 +-
src/bin/pg_upgrade/po/sv.po  |  243 +-
src/bin/pg_verifybackup/po/es.po |2 +-
src/bin/pg_waldump/po/es.po  |  183 +-
src/bin/psql/po/es.po| 1726 +++---
src/bin/psql/po/ru.po|4 +-
src/bin/scripts/po/es.po |   20 +-
src/bin/scripts/po/sv.po |  130 +-
src/interfaces/ecpg/ecpglib/po/es.po |2 +-
src/interfaces/ecpg/preproc/po/es.po |  133 +-
src/interfaces/ecpg/preproc/po/ru.po |   52 +-
src/interfaces/libpq/po/es.po|  244 +-
src/interfaces/libpq/po/ru.po|6 +-
src/pl/plperl/po/es.po   |2 +-
src/pl/plpgsql/src/po/es.po  |  262 +-
src/pl/plpgsql/src/po/ru.po  |  168 +-
src/pl/plpython/po/es.po |   54 +-
src/pl/plpython/po/ru.po |   56 +-
src/pl/tcl/po/de.po  |   49 +-
src/pl/tcl/po/es.po  |   33 +-
src/pl/tcl/po/fr.po  |   57 +-
src/pl/tcl/po/ja.po  |   56 +-
src/pl/tcl/po/ru.po  |   37 +-
src/pl/tcl/po/sv.po  |   55 +-
44 files changed, 12567 insertions(+), 13481 deletions(-)



pgsql: Translation updates

2024-08-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 03e32419667b55fd8088a8238177d5b4c20f2b56

Branch
--
REL_12_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/c2916c0933d190da323a01658b3ac4c332767adf

Modified Files
--
src/backend/po/de.po | 1764 
src/backend/po/es.po | 3846 +-
src/backend/po/fr.po | 1457 ++---
src/backend/po/ja.po | 1854 
src/backend/po/ru.po | 1766 
src/backend/po/sv.po | 3403 +++---
src/bin/initdb/po/es.po  |2 +-
src/bin/pg_archivecleanup/po/es.po   |2 +-
src/bin/pg_basebackup/po/es.po   |  170 +-
src/bin/pg_checksums/po/es.po|2 +-
src/bin/pg_config/po/es.po   |2 +-
src/bin/pg_controldata/po/es.po  |   20 +-
src/bin/pg_ctl/po/es.po  |2 +-
src/bin/pg_dump/po/es.po |  340 +--
src/bin/pg_dump/po/ru.po |  130 +-
src/bin/pg_resetwal/po/es.po |2 +-
src/bin/pg_rewind/po/es.po   |   59 +-
src/bin/pg_test_fsync/po/es.po   |2 +-
src/bin/pg_test_timing/po/es.po  |2 +-
src/bin/pg_upgrade/po/de.po  |  102 +-
src/bin/pg_upgrade/po/es.po  |  138 +-
src/bin/pg_upgrade/po/fr.po  |  115 +-
src/bin/pg_upgrade/po/ja.po  |  109 +-
src/bin/pg_upgrade/po/ru.po  |  106 +-
src/bin/pg_upgrade/po/sv.po  |  252 ++-
src/bin/pg_waldump/po/es.po  |   59 +-
src/bin/psql/po/es.po| 1588 +++---
src/bin/scripts/po/es.po |  139 +-
src/bin/scripts/po/sv.po |  151 +-
src/interfaces/ecpg/ecpglib/po/es.po |2 +-
src/interfaces/ecpg/preproc/po/es.po |  125 +-
src/interfaces/libpq/po/es.po|   90 +-
src/interfaces/libpq/po/ru.po|4 +-
src/pl/plperl/po/es.po   |2 +-
src/pl/plpgsql/src/po/es.po  |  294 +--
src/pl/plpgsql/src/po/ru.po  |  168 +-
src/pl/plpython/po/es.po |   54 +-
src/pl/plpython/po/ru.po |   56 +-
src/pl/tcl/po/de.po  |   33 +-
src/pl/tcl/po/es.po  |   33 +-
src/pl/tcl/po/fr.po  |   64 +-
src/pl/tcl/po/ja.po  |   48 +-
src/pl/tcl/po/ru.po  |   37 +-
src/pl/tcl/po/sv.po  |   37 +-
44 files changed, 9407 insertions(+), 9224 deletions(-)



pgsql: Translation updates

2024-08-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: f1fa38f3bf3e0a5d3a95304dcf6a11acf304577c

Branch
--
REL_17_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/91099bb287ff71c970c72b81e6a190d80a92e760

Modified Files
--
src/backend/po/de.po  |  2620 ++---
src/backend/po/es.po  | 17428 +---
src/backend/po/ja.po  |  5239 +-
src/backend/po/pt_BR.po   | 4 +-
src/backend/po/sv.po  | 15703 ++--
src/bin/initdb/po/es.po   |   478 +-
src/bin/initdb/po/fr.po   |   480 +-
src/bin/initdb/po/pt_BR.po|18 +-
src/bin/initdb/po/sv.po   |   505 +-
src/bin/initdb/po/zh_CN.po|   979 +-
src/bin/pg_amcheck/po/es.po   |   296 +-
src/bin/pg_amcheck/po/fr.po   |   306 +-
src/bin/pg_amcheck/po/sv.po   |   324 +-
src/bin/pg_archivecleanup/po/es.po|   102 +-
src/bin/pg_archivecleanup/po/fr.po|   122 +-
src/bin/pg_archivecleanup/po/ka.po|16 +-
src/bin/pg_archivecleanup/po/sv.po|   116 +-
src/bin/pg_archivecleanup/po/zh_CN.po |   162 +-
src/bin/pg_basebackup/po/de.po|   744 +-
src/bin/pg_basebackup/po/ja.po|   372 +-
src/bin/pg_basebackup/po/ka.po|   373 +-
src/bin/pg_basebackup/po/sv.po|  1421 ++-
src/bin/pg_checksums/po/es.po |   232 +-
src/bin/pg_checksums/po/fr.po |   239 +-
src/bin/pg_checksums/po/ka.po |   168 +-
src/bin/pg_checksums/po/sv.po |   240 +-
src/bin/pg_combinebackup/po/LINGUAS   | 2 +-
src/bin/pg_combinebackup/po/de.po |   169 +-
src/bin/pg_combinebackup/po/es.po |   900 ++
src/bin/pg_combinebackup/po/ja.po |   169 +-
src/bin/pg_combinebackup/po/ka.po |   448 +-
src/bin/pg_combinebackup/po/sv.po |   894 ++
src/bin/pg_config/po/es.po|42 +-
src/bin/pg_config/po/fr.po|44 +-
src/bin/pg_config/po/ka.po|13 +-
src/bin/pg_config/po/sv.po|58 +-
src/bin/pg_controldata/po/es.po   |   210 +-
src/bin/pg_controldata/po/fr.po   |   236 +-
src/bin/pg_controldata/po/ka.po   |13 +-
src/bin/pg_controldata/po/sv.po   |   213 +-
src/bin/pg_controldata/po/zh_TW.po| 6 +-
src/bin/pg_ctl/po/es.po   |   407 +-
src/bin/pg_ctl/po/ja.po   |   290 +-
src/bin/pg_ctl/po/ka.po   | 6 +-
src/bin/pg_ctl/po/sv.po   |   415 +-
src/bin/pg_dump/po/es.po  |  1238 ++-
src/bin/pg_dump/po/ka.po  |29 +-
src/bin/pg_dump/po/sv.po  |  1246 ++-
src/bin/pg_resetwal/po/es.po  |   516 +-
src/bin/pg_resetwal/po/ka.po  |   136 +-
src/bin/pg_resetwal/po/sv.po  |   482 +-
src/bin/pg_rewind/po/es.po|   491 +-
src/bin/pg_rewind/po/sv.po|   519 +-
src/bin/pg_test_fsync/po/es.po|95 +-
src/bin/pg_test_fsync/po/ka.po|13 +-
src/bin/pg_test_fsync/po/sv.po|   111 +-
src/bin/pg_test_timing/po/es.po   |13 +-
src/bin/pg_test_timing/po/ka.po   |13 +-
src/bin/pg_test_timing/po/sv.po   |19 +-
src/bin/pg_upgrade/po/es.po   |  1160 ++-
src/bin/pg_upgrade/po/sv.po   |  1267 +--
src/bin/pg_verifybackup/po/es.po  |   388 +-
src/bin/pg_verifybackup/po/ka.po  |95 +-
src/bin/pg_verifybackup/po/sv.po  |   418 +-
src/bin/pg_waldump/po/es.po   |   298 +-
src/bin/pg_waldump/po/ka.po   |   128 +-
src/bin/pg_waldump/po/sv.po   |   301 +-
src/bin/pg_walsummary/po/LINGUAS  | 2 +-
src/bin/pg_walsummary/po/es.po|   187 +
src/bin/pg_walsummary/po/ka.po|   107 +-
src/bin/pg_walsummary/po/sv.po|   181 +
src/bin/psql/po/cs.po | 5 +-
src/bin/psql/po/el.po | 7 +-
src/bin/psql/po/es.po |  3422 ---
src/bin/psql/po/it.po | 4 +-
src/bin/psql/po/ja.po | 4 +-
src/bin/psql/po/ru.po | 8 +-
src/bin/psql/po/sv.po |  3445 +++
src/bin/psql/po/uk.po | 7 +-
src/bin/scripts/po/es.po  |   429 +-
src/bin/scripts/po/fr.po  |20 +-
src/bin/scripts/po/ko.po  | 7 +-
src/bin/scripts/po/pt_BR.po   | 6 +-
src/bin/scripts/po/sv.po  |   453 +-
src/bin/scripts/po/zh_CN.po   | 4 +-
src/interfaces/ecpg/ecpglib/po/es.po  |10 +-
src/interfaces/ecpg/ecpglib/po/sv.po  |20 +-
src/interfaces/ecpg/preproc/po/es.po  |   153 +-
src/interfaces/ecpg/preproc/po/fr.po  |   206 +-
src/interfaces/ecpg/preproc/po/ja.po  |   154 +-
src/interfaces/ecpg/preproc/po/sv.po  |   204 +-
src/interfaces/libpq/po/es.po |   663 +-
src/interfaces/libpq/po/fr.po |   653 +-
src/interfaces/libpq/po/sv.po |   700 +-
s

pgsql: Translation updates

2024-08-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: https://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 1b16f532c5e3688b4439a2769cef003b17946667

Branch
--
REL_13_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/1d454d45c8b5db2d02157ffe3b5b17aa25b26f5b

Modified Files
--
src/backend/po/de.po | 1770 +++---
src/backend/po/es.po | 4379 +-
src/backend/po/fr.po | 1466 ++--
src/backend/po/ja.po | 1899 +++
src/backend/po/ru.po | 1772 +++---
src/backend/po/sv.po | 3699 ++--
src/bin/initdb/po/es.po  |2 +-
src/bin/pg_archivecleanup/po/es.po   |2 +-
src/bin/pg_basebackup/po/es.po   |  184 +-
src/bin/pg_checksums/po/es.po|2 +-
src/bin/pg_config/po/es.po   |2 +-
src/bin/pg_controldata/po/es.po  |   20 +-
src/bin/pg_ctl/po/es.po  |2 +-
src/bin/pg_dump/po/es.po |  340 +--
src/bin/pg_dump/po/ru.po |  130 +-
src/bin/pg_resetwal/po/es.po |2 +-
src/bin/pg_rewind/po/es.po   |   59 +-
src/bin/pg_test_fsync/po/es.po   |2 +-
src/bin/pg_test_timing/po/es.po  |2 +-
src/bin/pg_upgrade/po/de.po  |  102 +-
src/bin/pg_upgrade/po/es.po  |  138 +-
src/bin/pg_upgrade/po/fr.po  |  115 +-
src/bin/pg_upgrade/po/ja.po  |  109 +-
src/bin/pg_upgrade/po/ru.po  |  106 +-
src/bin/pg_upgrade/po/sv.po  |  252 +-
src/bin/pg_verifybackup/po/es.po |   36 +-
src/bin/pg_verifybackup/po/ru.po |   36 +-
src/bin/pg_waldump/po/es.po  |   59 +-
src/bin/psql/po/es.po| 1607 ++---
src/bin/scripts/po/es.po |   91 +-
src/bin/scripts/po/sv.po |  103 +-
src/interfaces/ecpg/ecpglib/po/es.po |2 +-
src/interfaces/ecpg/preproc/po/es.po |  129 +-
src/interfaces/libpq/po/es.po|  100 +-
src/interfaces/libpq/po/ru.po|6 +-
src/pl/plperl/po/es.po   |2 +-
src/pl/plpgsql/src/po/es.po  |  294 +--
src/pl/plpgsql/src/po/ru.po  |  168 +-
src/pl/plpython/po/es.po |   54 +-
src/pl/plpython/po/ru.po |   56 +-
src/pl/tcl/po/de.po  |   41 +-
src/pl/tcl/po/es.po  |   33 +-
src/pl/tcl/po/fr.po  |   72 +-
src/pl/tcl/po/ja.po  |   56 +-
src/pl/tcl/po/ru.po  |   37 +-
src/pl/tcl/po/sv.po  |   41 +-
46 files changed, 9889 insertions(+), 9690 deletions(-)



pgsql: Optimize JSON escaping using SIMD

2024-08-05 Thread David Rowley
Optimize JSON escaping using SIMD

Here we adjust escape_json_with_len() to make use of SIMD to allow
processing of up to 16-bytes at a time rather than processing a single
byte at a time.  This has been shown to speed up escaping of JSON
strings significantly.

Escaping is required for both JSON string properties and also the
property names themselves, so this should also help improve the speed of
the conversion from JSON into text for JSON objects that have property
names 16 or more bytes long.

Escaping JSON strings was often a significant bottleneck for longer
strings.  With these changes, some benchmarking has shown a query
performing nearly 4 times faster when escaping a JSON object with a 1MB
text property.  Tests with shorter text properties saw smaller but still
significant performance improvements.  For example, a test outputting 1024
JSON strings with a text property length ranging from 1 char to 1024 chars
became around 2 times faster.

Author: David Rowley
Reviewed-by: Melih Mutlu
Discussion: 
https://postgr.es/m/caaphdvplxwmzvbckcdgfu9xqjgcdm7tfprdtxub9pvgpnuy...@mail.gmail.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/ca6fde92258a328a98c1d9e41da5462b73da8529

Modified Files
--
src/backend/utils/adt/json.c   | 104 -
src/test/regress/expected/json.out |  48 +
src/test/regress/sql/json.sql  |   7 +++
3 files changed, 157 insertions(+), 2 deletions(-)



pgsql: Rename bbstreamer to astreamer.

2024-08-05 Thread Robert Haas
Rename bbstreamer to astreamer.

I (rhaas) intended "bbstreamer" to stand for "base backup streamer,"
but that implies that this infrastructure can only ever be used by
pg_basebackup.  In fact, it is a generally useful way of streaming
data from a tar or compressed tar file, and it could be extended to
work with other archive formats as well if we ever wanted to do that.
Hence, rename it to "astreamer" (archive streamer) in preparation for
reusing the infrastructure from pg_verifybackup (and perhaps
eventually also other utilities, such as pg_combinebackup or
pg_waldump).

This is purely a renaming commit. Comment adjustments and relocation
of the actual code to someplace from which it can be reused are left
to future commits.

Amul Sul, reviewed by Sravan Kumar and by me.

Discussion: 
http://postgr.es/m/caaj_b94stvlwrc_p4q-f7n3opfr6ghl8_xuag2aaayzp1tf...@mail.gmail.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/3c905698114d6c4de4dc607c110c27e0723ae70c

Modified Files
--
src/bin/pg_basebackup/Makefile |  12 +-
src/bin/pg_basebackup/astreamer.h  | 226 ++
.../{bbstreamer_file.c => astreamer_file.c}| 152 +-
.../{bbstreamer_gzip.c => astreamer_gzip.c}| 156 +-
.../{bbstreamer_inject.c => astreamer_inject.c}| 156 +-
.../{bbstreamer_lz4.c => astreamer_lz4.c}  | 178 +--
.../{bbstreamer_tar.c => astreamer_tar.c}  | 324 ++---
.../{bbstreamer_zstd.c => astreamer_zstd.c}| 166 +--
src/bin/pg_basebackup/bbstreamer.h | 226 --
src/bin/pg_basebackup/meson.build  |  12 +-
src/bin/pg_basebackup/nls.mk   |  12 +-
src/bin/pg_basebackup/pg_basebackup.c  | 104 +++
src/tools/pgindent/typedefs.list   |  26 +-
13 files changed, 875 insertions(+), 875 deletions(-)



pgsql: Move recovery injector astreamer to a separate header file.

2024-08-05 Thread Robert Haas
Move recovery injector astreamer to a separate header file.

Unlike the rest of the astreamer (formerly bbstreamer) infrastructure
which is reusable by other tools, astreamer_inject.c seems extremely
specific to pg_basebackup. Hence, move the corresponding declarations
to a separate header file, so that we can move the rest of the code
without moving this.

Amul Sul, reviewed by Sravan Kumar and by me.

Discussion: 
http://postgr.es/m/caaj_b94stvlwrc_p4q-f7n3opfr6ghl8_xuag2aaayzp1tf...@mail.gmail.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/53b2c921a0f9b56465ab65165c1909f9616ffa98

Modified Files
--
src/bin/pg_basebackup/astreamer.h|  6 --
src/bin/pg_basebackup/astreamer_inject.c |  2 +-
src/bin/pg_basebackup/astreamer_inject.h | 24 
src/bin/pg_basebackup/pg_basebackup.c|  2 +-
4 files changed, 26 insertions(+), 8 deletions(-)



pgsql: Move astreamer (except astreamer_inject) to fe_utils.

2024-08-05 Thread Robert Haas
Move astreamer (except astreamer_inject) to fe_utils.

This allows the code to be used by other frontend applications.

Amul Sul, reviewed by Sravan Kumar, Andres Freund (whose input
I specifically solicited regarding the meson.build changes),
and me.

Discussion: 
http://postgr.es/m/caaj_b94stvlwrc_p4q-f7n3opfr6ghl8_xuag2aaayzp1tf...@mail.gmail.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/f80b09bac87d6b49f5dbb6131da5fbd9b9773c5c

Modified Files
--
meson.build | 2 +-
src/bin/pg_basebackup/Makefile  | 7 +--
src/bin/pg_basebackup/astreamer_inject.h| 2 +-
src/bin/pg_basebackup/meson.build   | 5 -
src/fe_utils/Makefile   | 5 +
src/{bin/pg_basebackup => fe_utils}/astreamer_file.c| 2 +-
src/{bin/pg_basebackup => fe_utils}/astreamer_gzip.c| 2 +-
src/{bin/pg_basebackup => fe_utils}/astreamer_lz4.c | 2 +-
src/{bin/pg_basebackup => fe_utils}/astreamer_tar.c | 2 +-
src/{bin/pg_basebackup => fe_utils}/astreamer_zstd.c| 2 +-
src/fe_utils/meson.build| 5 +
src/{bin/pg_basebackup => include/fe_utils}/astreamer.h | 0
12 files changed, 18 insertions(+), 18 deletions(-)



pgsql: Stamp 17beta3.

2024-08-05 Thread Tom Lane
Stamp 17beta3.

Branch
--
REL_17_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/b18b3a8150dbb150124bd345e000d6dc92f3d6dd

Modified Files
--
configure| 18 +-
configure.ac |  2 +-
meson.build  |  2 +-
3 files changed, 11 insertions(+), 11 deletions(-)



pgsql: Stamp 16.4.

2024-08-05 Thread Tom Lane
Stamp 16.4.

Branch
--
REL_16_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/2caa85f4aae689e6f6721d7363b4c66a2a6417d6

Modified Files
--
configure| 18 +-
configure.ac |  2 +-
meson.build  |  2 +-
3 files changed, 11 insertions(+), 11 deletions(-)



pgsql: Stamp 15.8.

2024-08-05 Thread Tom Lane
Stamp 15.8.

Branch
--
REL_15_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/3cc5e51ab4507b33acc82684b7d79ac43b8a6b5d

Modified Files
--
configure| 18 +-
configure.ac |  2 +-
2 files changed, 10 insertions(+), 10 deletions(-)



pgsql: Stamp 14.13.

2024-08-05 Thread Tom Lane
Stamp 14.13.

Branch
--
REL_14_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/33965476b6ef6a37af2bc9bb1b5b2af17c35dc5e

Modified Files
--
configure| 18 +-
configure.ac |  2 +-
2 files changed, 10 insertions(+), 10 deletions(-)



pgsql: Stamp 13.16.

2024-08-05 Thread Tom Lane
Stamp 13.16.

Branch
--
REL_13_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/0dc08bbfcc93ac4f04d2a3f4b9d1231a80e2cc0c

Modified Files
--
configure| 18 +-
configure.in |  2 +-
2 files changed, 10 insertions(+), 10 deletions(-)



pgsql: Stamp 12.20.

2024-08-05 Thread Tom Lane
Stamp 12.20.

Branch
--
REL_12_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/76265a851b13bbb001a218481c0cb6315c0fdfe6

Modified Files
--
configure| 18 +-
configure.in |  2 +-
src/include/pg_config.h.win32|  8 
src/interfaces/libpq/libpq.rc.in |  8 
src/port/win32ver.rc |  4 ++--
5 files changed, 20 insertions(+), 20 deletions(-)



pgsql: Remove support for null pg_locale_t most places.

2024-08-05 Thread Jeff Davis
Remove support for null pg_locale_t most places.

Previously, passing NULL for pg_locale_t meant "use the libc provider
and the server environment". Now that the database collation is
represented as a proper pg_locale_t (not dependent on setlocale()),
remove special cases for NULL.

Leave wchar2char() and char2wchar() unchanged for now, because the
callers don't always have a libc-based pg_locale_t available.

Discussion: 
https://postgr.es/m/cfd9eb85-c52a-4ec9-a90e-a5e4de56e...@eisentraut.org
Reviewed-by: Peter Eisentraut, Andreas Karlsson

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/e9931bfb7515b253cc26ff495ee917acff8995d0

Modified Files
--
src/backend/access/hash/hashfunc.c |  10 ++--
src/backend/regex/regc_pg_locale.c | 113 ++---
src/backend/utils/adt/formatting.c |  84 +++
src/backend/utils/adt/like.c   |  10 +---
src/backend/utils/adt/pg_locale.c  |  73 +---
src/backend/utils/adt/varchar.c|  10 ++--
src/backend/utils/adt/varlena.c|  28 +++--
7 files changed, 73 insertions(+), 255 deletions(-)