pgsql: Remove useless casts to (void *) in arguments of some system fun

2023-02-06 Thread Peter Eisentraut
Remove useless casts to (void *) in arguments of some system functions

The affected functions are: bsearch, memcmp, memcpy, memset, memmove,
qsort, repalloc

Reviewed-by: Corey Huinker 
Discussion: 
https://www.postgresql.org/message-id/flat/fd9adf5d-b1aa-e82f-e4c7-263c30145807%40enterprisedb.com

Branch
--
master

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

Modified Files
--
contrib/btree_gist/btree_bit.c  |  2 +-
contrib/btree_gist/btree_interval.c |  4 ++--
contrib/btree_gist/btree_utils_num.c|  8 
contrib/btree_gist/btree_utils_var.c|  4 ++--
contrib/btree_gist/btree_uuid.c |  4 ++--
contrib/citext/citext.c |  2 +-
contrib/hstore/hstore_gist.c|  6 +++---
contrib/hstore/hstore_io.c  |  2 +-
contrib/intarray/_int_gist.c|  6 +++---
contrib/intarray/_int_tool.c|  2 +-
contrib/intarray/_intbig_gist.c |  6 +++---
contrib/ltree/_ltree_gist.c |  6 +++---
contrib/ltree/ltree_gist.c  |  2 +-
contrib/ltree/ltxtquery_io.c|  6 +++---
contrib/pg_surgery/heap_surgery.c   |  2 +-
contrib/pg_trgm/trgm_gist.c | 10 +-
contrib/pg_trgm/trgm_op.c   |  4 ++--
doc/src/sgml/xfunc.sgml |  4 ++--
src/backend/access/brin/brin_minmax_multi.c |  6 +++---
src/backend/access/gin/ginutil.c|  2 +-
src/backend/access/gist/gistproc.c  |  4 ++--
src/backend/access/gist/gistutil.c  |  2 +-
src/backend/access/nbtree/nbtutils.c|  4 ++--
src/backend/catalog/dependency.c|  6 +++---
src/backend/catalog/pg_shdepend.c   |  2 +-
src/backend/commands/analyze.c  |  8 
src/backend/commands/collationcmds.c|  2 +-
src/backend/commands/vacuum.c   |  4 ++--
src/backend/executor/nodeTidscan.c  |  2 +-
src/backend/nodes/tidbitmap.c   |  8 
src/backend/partitioning/partbounds.c   |  4 ++--
src/backend/statistics/extended_stats.c |  2 +-
src/backend/statistics/mcv.c|  4 ++--
src/backend/statistics/mvdistinct.c |  2 +-
src/backend/storage/ipc/procarray.c |  4 ++--
src/backend/tsearch/spell.c | 14 +++---
src/backend/tsearch/to_tsany.c  |  2 +-
src/backend/tsearch/ts_parse.c  |  6 +++---
src/backend/tsearch/ts_utils.c  |  3 +--
src/backend/utils/adt/tsgistidx.c   | 12 ++--
src/backend/utils/adt/tsquery.c |  6 +++---
src/backend/utils/adt/tsquery_cleanup.c |  4 ++--
src/backend/utils/adt/tsquery_gist.c|  2 +-
src/backend/utils/adt/tsquery_util.c|  2 +-
src/backend/utils/adt/tsrank.c  |  4 ++--
src/backend/utils/adt/tsvector.c| 15 +++
src/bin/pg_dump/parallel.c  |  2 +-
src/bin/pg_dump/pg_backup_archiver.c|  3 +--
src/bin/pg_dump/pg_dump_sort.c  |  2 +-
src/bin/pg_upgrade/function.c   |  2 +-
src/bin/pgbench/pgbench.c   |  6 +++---
src/tutorial/funcs.c|  4 ++--
52 files changed, 116 insertions(+), 119 deletions(-)



pgsql: Use appropriate wait event when sending data in the apply worker

2023-02-06 Thread Amit Kapila
Use appropriate wait event when sending data in the apply worker.

Currently, we reuse WAIT_EVENT_LOGICAL_PARALLEL_APPLY_STATE_CHANGE in the
apply worker while sending data to the parallel apply worker via a shared
memory queue. This is not appropriate as one won't be able to distinguish
whether the worker is waiting for sending data or for the state change.

To patch instead uses the wait event WAIT_EVENT_MQ_SEND which has been
already used in blocking mode while sending data via a shared memory
queue.

Author: Hou Zhijie
Reviewed-by: Kuroda Hayato, Amit Kapila
Discussion: 
https://postgr.es/m/os0pr01mb57161c680b22e4c591628ee994...@os0pr01mb5716.jpnprd01.prod.outlook.com

Branch
--
master

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

Modified Files
--
src/backend/replication/logical/applyparallelworker.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)



pgsql: More refactoring of heapgettup() and heapgettup_pagemode()

2023-02-06 Thread David Rowley
More refactoring of heapgettup() and heapgettup_pagemode()

Here we further simplify the code in heapgettup() and
heapgettup_pagemode() to make better use of the helper functions added in
the previous recent refactors in this area.

In passing, remove an unneeded cast added in 8ca6d49f6.

Author: Melanie Plageman
Reviewed-by: Andres Freund, David Rowley
Discussion: 
https://postgr.es/m/caakru_ysonhksdyfcqjsktbsrd32dp-jjxmv7hl0bpd-z0t...@mail.gmail.com

Branch
--
master

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

Modified Files
--
src/backend/access/heap/heapam.c | 247 +--
1 file changed, 78 insertions(+), 169 deletions(-)



pgsql: Include values of A_Const nodes in query jumbling

2023-02-06 Thread Michael Paquier
Include values of A_Const nodes in query jumbling

Like the implementation for node copy, write and read, this node
requires a custom implementation so as the query jumbling is able to
consider the correct value assigned to it, depending on its type (int,
float, bool, string, bitstring).

Based on a dump of pg_stat_statements from the regression database, this
would confuse the query jumbling of the following queries:
- SET.
- COPY TO with SELECT queries.
- START TRANSACTION with different isolation levels.
- ALTER TABLE with default expressions.
- CREATE TABLE with partition bounds.

Note that there may be a long-term argument in tracking the location of
such nodes so as query strings holding such nodes could be normalized,
but this is left as a separate discussion.

Oversight in 3db72eb.

Discussion: https://postgr.es/m/y9+huyslmap6y...@paquier.xyz

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/9ba37b2cb6a174b37fc51d0649ef73e56eae27fc

Modified Files
--
.../expected/pg_stat_statements.out| 16 +-
.../pg_stat_statements/sql/pg_stat_statements.sql  |  8 +
src/backend/nodes/queryjumblefuncs.c   | 35 ++
src/include/nodes/parsenodes.h |  2 +-
4 files changed, 59 insertions(+), 2 deletions(-)



pgsql: ci: freebsd: stop postgres instance on failure, to prevent log u

2023-02-06 Thread Andres Freund
ci: freebsd: stop postgres instance on failure, to prevent log upload failures

Discussion: 
https://postgr.es/m/20230205233057.e2243nl44agf7...@alap3.anarazel.de
Discussion: 
https://postgr.es/m/20230206221422.ykidlne7pmywu...@awork3.anarazel.de

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/209f0f0e8516dfb382afdd2375c8b84c912dc420

Modified Files
--
.cirrus.yml | 6 ++
1 file changed, 6 insertions(+)



pgsql: Fix more outdated comments

2023-02-06 Thread Peter Eisentraut
Fix more outdated comments

Same as in f5da3d8 but for write_relcache_init_file(), the comments
had gotten a bit wrong due to code added over time.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/6c14fb17e4be70e0f3c03d2f9f6c540b6d5bdcbe

Modified Files
--
src/backend/utils/cache/relcache.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)



pgsql: Fix up outdated comments

2023-02-06 Thread Peter Eisentraut
Fix up outdated comments

The existing comments in load_relcache_init_file() were not flexible
when new entries were added at the end, so they ended up a bit wrong.
Simplify the comments to avoid this issue.

Branch
--
master

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

Modified Files
--
src/backend/utils/cache/relcache.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)



pgsql: Stamp 11.19.

2023-02-06 Thread Tom Lane
Stamp 11.19.

Branch
--
REL_11_STABLE

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

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



pgsql: Stamp 12.14.

2023-02-06 Thread Tom Lane
Stamp 12.14.

Branch
--
REL_12_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/533cc39b750bd7600e8e2e5cab819a27f1717960

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: Stamp 13.10.

2023-02-06 Thread Tom Lane
Stamp 13.10.

Branch
--
REL_13_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/20aba55fae83cd0b6f7511365d172da8cd7e0135

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



pgsql: Stamp 14.7.

2023-02-06 Thread Tom Lane
Stamp 14.7.

Branch
--
REL_14_STABLE

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

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



pgsql: Stamp 15.2.

2023-02-06 Thread Tom Lane
Stamp 15.2.

Branch
--
REL_15_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/78ec02d612a9b69039ec2610740f738968fe144d

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



pgsql: Fix up join removal's interaction with PlaceHolderVars.

2023-02-06 Thread Tom Lane
Fix up join removal's interaction with PlaceHolderVars.

The portion of join_is_removable() that checks PlaceHolderVars
can be made a little more accurate and intelligible than it was.
The key point is that we can allow join removal even if a PHV
mentions the target rel in ph_eval_at, if that mention was only
added as a consequence of forcing the PHV up to a join level
that's at/above the outer join we're trying to get rid of.
We can check that by testing for the OJ's relid appearing in
ph_eval_at, indicating that it's supposed to be evaluated after
the outer join, plus the existing test that the contained
expression doesn't actually mention the target rel.

While here, add an explicit check that there'll be something left
in ph_eval_at after we remove the target rel and OJ relid.  There
is an Assert later on about that, and I'm not too sure that the
case could happen for a PHV satisfying the other constraints,
but let's just check.  (There was previously a bms_is_subset test
that meant to cover this risk, but it's broken now because it
doesn't account for the fact that we'll also remove the OJ relid.)

The real reason for revisiting this code though is that the
Assert I left behind in 8538519db turns out to be easily
reachable, because if a PHV of this sort appears in an upper-level
qual clause then that clause's clause_relids will include the
PHV's ph_eval_at relids.  This is a mirage though: we have or soon
will remove these relids from the PHV's ph_eval_at, and therefore
they no longer belong in qual clauses' clause_relids either.
Remove that Assert in join_is_removable, and replace the similar
one in remove_rel_from_query with code to remove the deleted relids
from clause_relids.

Per bug #17773 from Robins Tharakan.

Discussion: https://postgr.es/m/17773-a592e6cedbc7b...@postgresql.org

Branch
--
master

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

Modified Files
--
src/backend/optimizer/plan/analyzejoins.c | 52 ++-
src/test/regress/expected/join.out| 20 
src/test/regress/sql/join.sql |  8 +
3 files changed, 58 insertions(+), 22 deletions(-)



pgsql: doc: Fix SQL keywords lists

2023-02-06 Thread Peter Eisentraut
doc: Fix SQL keywords lists

Some keywords were listed as both reserved and nonreserved.  Fix as
appropriate.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/7ba09efe248fe5e15bd6d4c4d0612ea63b66a860

Modified Files
--
doc/src/sgml/keywords/sql2016-02-reserved.txt | 3 ---
1 file changed, 3 deletions(-)



pgsql: Revert "Disable STARTUP_PROGRESS_TIMEOUT in standby mode."

2023-02-06 Thread Robert Haas
Revert "Disable STARTUP_PROGRESS_TIMEOUT in standby mode."

This reverts commit 98e7234242a652497c99d4d0d6f2bf9a75d4e921. I
forgot that we're about to wrap a release, and this fix isn't
critical enough to justify committing it right before we wrap
a release.

Discussion: http://postgr.es/m/2676424.1675700...@sss.pgh.pa.us

Branch
--
REL_15_STABLE

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

Modified Files
--
src/backend/access/transam/xlogrecovery.c | 25 +++--
src/backend/postmaster/startup.c  | 30 +++---
src/include/postmaster/startup.h  |  2 --
3 files changed, 6 insertions(+), 51 deletions(-)



pgsql: Disable STARTUP_PROGRESS_TIMEOUT in standby mode.

2023-02-06 Thread Robert Haas
Disable STARTUP_PROGRESS_TIMEOUT in standby mode.

In standby mode, we don't actually report progress of recovery,
but up until now, startup_progress_timeout_handler() nevertheless
got called every log_startup_progress_interval seconds. That's
an unnecessary expense, so avoid it.

Report by Thomas Munro. Patch by Bharath Rupireddy, reviewed by
Simon Riggs, Thomas Munro, and me. Back-patch to v15, where
the problem was introduced.

Discussion: 
https://www.postgresql.org/message-id/CA%2BhUKGKCHSffAj8zZJKJvNX7ygnQFxVD6wm1d-2j3fVw%2BMafPQ%40mail.gmail.com

Branch
--
REL_15_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/98e7234242a652497c99d4d0d6f2bf9a75d4e921

Modified Files
--
src/backend/access/transam/xlogrecovery.c | 25 ++---
src/backend/postmaster/startup.c  | 30 +++---
src/include/postmaster/startup.h  |  2 ++
3 files changed, 51 insertions(+), 6 deletions(-)



pgsql: Disable STARTUP_PROGRESS_TIMEOUT in standby mode.

2023-02-06 Thread Robert Haas
Disable STARTUP_PROGRESS_TIMEOUT in standby mode.

In standby mode, we don't actually report progress of recovery,
but up until now, startup_progress_timeout_handler() nevertheless
got called every log_startup_progress_interval seconds. That's
an unnecessary expense, so avoid it.

Report by Thomas Munro. Patch by Bharath Rupireddy, reviewed by
Simon Riggs, Thomas Munro, and me. Back-patch to v15, where
the problem was introduced.

Discussion: 
https://www.postgresql.org/message-id/CA%2BhUKGKCHSffAj8zZJKJvNX7ygnQFxVD6wm1d-2j3fVw%2BMafPQ%40mail.gmail.com

Branch
--
master

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

Modified Files
--
src/backend/access/transam/xlogrecovery.c | 25 ++---
src/backend/postmaster/startup.c  | 30 +++---
src/include/postmaster/startup.h  |  2 ++
3 files changed, 51 insertions(+), 6 deletions(-)



pgsql: doc: Fix description of SQL standard parts

2023-02-06 Thread Peter Eisentraut
doc: Fix description of SQL standard parts

The splitting into parts actually started earlier than the text had
claimed, but that is ancient history anyway by now and does not need
to be mentioned.  Update that and tweak the text a bit.

Branch
--
master

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

Modified Files
--
doc/src/sgml/features.sgml | 8 
1 file changed, 4 insertions(+), 4 deletions(-)



pgsql: Translation updates

2023-02-06 Thread Peter Eisentraut
Translation updates

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

Branch
--
REL_13_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/07113f15cd123aa2279cb37e0e848766e050225b

Modified Files
--
src/backend/po/de.po | 1545 +-
src/backend/po/fr.po | 1390 +++
src/backend/po/ja.po |  970 
src/backend/po/ru.po | 1856 +++
src/backend/po/sv.po | 1707 ++--
src/bin/initdb/po/ru.po  |4 +-
src/bin/pg_archivecleanup/po/ru.po   |4 +-
src/bin/pg_basebackup/po/ru.po   |4 +-
src/bin/pg_config/po/ru.po   |4 +-
src/bin/pg_controldata/po/ru.po  |4 +-
src/bin/pg_ctl/po/ru.po  |8 +-
src/bin/pg_dump/po/ru.po |  164 +--
src/bin/pg_resetwal/po/ru.po |4 +-
src/bin/pg_rewind/po/ru.po   |4 +-
src/bin/pg_test_fsync/po/ru.po   |4 +-
src/bin/pg_test_timing/po/ru.po  |4 +-
src/bin/pg_upgrade/po/ru.po  |   48 +-
src/bin/pg_verifybackup/po/ru.po |4 +-
src/bin/pg_waldump/po/ru.po  |4 +-
src/bin/psql/po/de.po| 1557 +-
src/bin/psql/po/fr.po| 2013 +-
src/bin/psql/po/ja.po|  833 +++---
src/bin/psql/po/ru.po|  762 ++---
src/bin/psql/po/sv.po| 1561 +-
src/bin/scripts/po/ru.po |4 +-
src/interfaces/ecpg/ecpglib/po/ru.po |4 +-
src/interfaces/ecpg/preproc/po/ru.po |4 +-
src/interfaces/libpq/po/ja.po|6 +-
src/interfaces/libpq/po/ru.po|8 +-
src/pl/plperl/po/ru.po   |4 +-
src/pl/plpgsql/src/po/ru.po  |   12 +-
src/pl/plpython/po/ru.po |4 +-
src/pl/tcl/po/ru.po  |4 +-
33 files changed, 7243 insertions(+), 7265 deletions(-)



pgsql: Translation updates

2023-02-06 Thread Peter Eisentraut
Translation updates

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

Branch
--
REL_14_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/28ac6d0a99d57375dbd9bc2acd16fd1127502ef7

Modified Files
--
src/backend/po/de.po | 1837 ++--
src/backend/po/fr.po | 1625 -
src/backend/po/ja.po | 1140 +-
src/backend/po/ru.po | 2175 +-
src/backend/po/sv.po | 1943 +++---
src/bin/initdb/po/ru.po  |4 +-
src/bin/pg_archivecleanup/po/ru.po   |4 +-
src/bin/pg_basebackup/po/ru.po   |4 +-
src/bin/pg_config/po/ru.po   |4 +-
src/bin/pg_controldata/po/ru.po  |4 +-
src/bin/pg_ctl/po/ru.po  |8 +-
src/bin/pg_dump/po/ru.po |  174 +--
src/bin/pg_resetwal/po/ru.po |4 +-
src/bin/pg_rewind/po/ru.po   |4 +-
src/bin/pg_test_fsync/po/ru.po   |4 +-
src/bin/pg_test_timing/po/ru.po  |4 +-
src/bin/pg_upgrade/po/ru.po  |   52 +-
src/bin/pg_verifybackup/po/ru.po |4 +-
src/bin/pg_waldump/po/ru.po  |4 +-
src/bin/psql/po/de.po| 1413 +++---
src/bin/psql/po/fr.po| 1429 +++---
src/bin/psql/po/ja.po| 1192 ++-
src/bin/psql/po/ru.po| 1024 
src/bin/psql/po/sv.po| 1433 +++---
src/bin/scripts/po/ru.po |4 +-
src/interfaces/ecpg/ecpglib/po/ru.po |4 +-
src/interfaces/ecpg/preproc/po/ru.po |4 +-
src/interfaces/libpq/po/ja.po|6 +-
src/interfaces/libpq/po/ru.po|   12 +-
src/pl/plperl/po/ru.po   |4 +-
src/pl/plpgsql/src/po/ru.po  |   12 +-
src/pl/plpython/po/ru.po |4 +-
src/pl/tcl/po/ru.po  |4 +-
33 files changed, 7810 insertions(+), 7733 deletions(-)



pgsql: Translation updates

2023-02-06 Thread Peter Eisentraut
Translation updates

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

Branch
--
REL_11_STABLE

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

Modified Files
--
src/backend/po/de.po | 1291 ++--
src/backend/po/fr.po | 1181 +-
src/backend/po/ja.po |  767 -
src/backend/po/ru.po | 1454 +++
src/backend/po/sv.po | 1306 ++--
src/bin/initdb/po/ru.po  |8 +-
src/bin/pg_archivecleanup/po/ru.po   |4 +-
src/bin/pg_basebackup/po/ru.po   |4 +-
src/bin/pg_config/po/ru.po   |4 +-
src/bin/pg_controldata/po/ru.po  |4 +-
src/bin/pg_ctl/po/ru.po  |8 +-
src/bin/pg_dump/po/ru.po |  156 ++--
src/bin/pg_resetwal/po/ru.po |4 +-
src/bin/pg_rewind/po/ru.po   |8 +-
src/bin/pg_test_fsync/po/ru.po   |4 +-
src/bin/pg_test_timing/po/ru.po  |4 +-
src/bin/pg_upgrade/po/ru.po  |   52 +-
src/bin/pg_waldump/po/ru.po  |4 +-
src/bin/psql/po/de.po| 1536 -
src/bin/psql/po/fr.po| 1549 +-
src/bin/psql/po/ja.po|  733 
src/bin/psql/po/ru.po|   43 +-
src/bin/psql/po/sv.po| 1542 -
src/bin/scripts/po/ru.po |4 +-
src/interfaces/ecpg/ecpglib/po/ru.po |4 +-
src/interfaces/ecpg/preproc/po/ru.po |4 +-
src/interfaces/libpq/po/ja.po|6 +-
src/interfaces/libpq/po/ru.po|8 +-
src/pl/plperl/po/ru.po   |4 +-
src/pl/plpgsql/src/po/ru.po  |   12 +-
src/pl/plpython/po/ru.po |4 +-
src/pl/tcl/po/ru.po  |4 +-
32 files changed, 5879 insertions(+), 5837 deletions(-)



pgsql: Translation updates

2023-02-06 Thread Peter Eisentraut
Translation updates

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

Branch
--
REL_12_STABLE

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

Modified Files
--
src/backend/po/de.po | 1383 ++--
src/backend/po/fr.po | 1259 -
src/backend/po/ja.po |  910 +-
src/backend/po/ru.po | 1686 +-
src/backend/po/sv.po | 1551 +++
src/bin/initdb/po/ru.po  |4 +-
src/bin/pg_archivecleanup/po/ru.po   |4 +-
src/bin/pg_basebackup/po/ru.po   |4 +-
src/bin/pg_config/po/ru.po   |4 +-
src/bin/pg_controldata/po/ru.po  |4 +-
src/bin/pg_ctl/po/ru.po  |8 +-
src/bin/pg_dump/po/ru.po |  164 ++--
src/bin/pg_resetwal/po/ru.po |4 +-
src/bin/pg_rewind/po/ru.po   |4 +-
src/bin/pg_test_fsync/po/ru.po   |4 +-
src/bin/pg_test_timing/po/ru.po  |4 +-
src/bin/pg_upgrade/po/ru.po  |   52 +-
src/bin/pg_waldump/po/ru.po  |4 +-
src/bin/psql/po/de.po| 1546 +++
src/bin/psql/po/fr.po| 1562 +++
src/bin/psql/po/ja.po|  735 ---
src/bin/psql/po/ru.po|  758 +++
src/bin/psql/po/sv.po| 1550 +++
src/bin/scripts/po/ru.po |4 +-
src/interfaces/ecpg/ecpglib/po/ru.po |4 +-
src/interfaces/ecpg/preproc/po/ru.po |4 +-
src/interfaces/libpq/po/ja.po|6 +-
src/interfaces/libpq/po/ru.po|8 +-
src/pl/plperl/po/ru.po   |4 +-
src/pl/plpgsql/src/po/ru.po  |   12 +-
src/pl/plpython/po/ru.po |4 +-
src/pl/tcl/po/ru.po  |4 +-
32 files changed, 6660 insertions(+), 6594 deletions(-)



pgsql: Translation updates

2023-02-06 Thread Peter Eisentraut
Translation updates

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

Branch
--
REL_15_STABLE

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

Modified Files
--
src/backend/po/de.po  | 1625 +++---
src/backend/po/fr.po  | 2970 ++---
src/backend/po/ja.po  | 2412 -
src/backend/po/ru.po  | 2315 
src/backend/po/sv.po  | 1551 +++--
src/bin/pg_dump/po/ru.po  |  184 +--
src/bin/pg_upgrade/po/ru.po   |   52 +-
src/bin/psql/po/de.po | 1583 +++---
src/bin/psql/po/fr.po | 1599 +++---
src/bin/psql/po/ja.po |  851 ++--
src/bin/psql/po/ru.po | 1171 
src/bin/psql/po/sv.po |  888 ++--
src/interfaces/libpq/po/ja.po |6 +-
src/interfaces/libpq/po/ru.po |   18 +-
14 files changed, 9044 insertions(+), 8181 deletions(-)



pgsql: Remove useless casts to (void *) in hash_search() calls

2023-02-06 Thread Peter Eisentraut
Remove useless casts to (void *) in hash_search() calls

Some of these appear to be leftovers from when hash_search() took a
char * argument (changed in 5999e78fc45dcb91784b64b6e9ae43f4e4f68ca2).

Since after this there is some more horizontal space available, do
some light reformatting where suitable.

Reviewed-by: Corey Huinker 
Discussion: 
https://www.postgresql.org/message-id/flat/fd9adf5d-b1aa-e82f-e4c7-263c30145807%40enterprisedb.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/54a177a948b0a773c25c6737d1cc3cc49222a526

Modified Files
--
contrib/postgres_fdw/shippable.c| 12 ++
src/backend/access/gist/gistbuild.c |  4 +-
src/backend/access/gist/gistbuildbuffers.c  |  2 +-
src/backend/access/transam/xlogutils.c  |  6 +--
src/backend/catalog/storage.c   |  4 +-
src/backend/optimizer/util/predtest.c   |  2 +-
src/backend/parser/parse_oper.c |  6 +--
src/backend/replication/logical/relation.c  |  6 +--
src/backend/replication/logical/reorderbuffer.c | 34 -
src/backend/replication/pgoutput/pgoutput.c |  2 +-
src/backend/storage/buffer/buf_table.c  |  6 +--
src/backend/storage/buffer/bufmgr.c | 17 ++---
src/backend/storage/buffer/localbuf.c   | 15 +++-
src/backend/storage/lmgr/lock.c | 50 -
src/backend/storage/smgr/smgr.c |  6 +--
src/backend/storage/sync/sync.c |  4 +-
src/backend/tsearch/ts_typanalyze.c |  4 +-
src/backend/utils/adt/array_typanalyze.c|  4 +-
src/backend/utils/adt/ri_triggers.c |  8 ++--
src/backend/utils/cache/attoptcache.c   |  6 +--
src/backend/utils/cache/relcache.c  | 12 +++---
src/backend/utils/cache/relfilenumbermap.c  |  6 +--
src/backend/utils/cache/spccache.c  |  6 +--
src/backend/utils/cache/ts_cache.c  | 14 +++
src/backend/utils/cache/typcache.c  |  8 ++--
src/backend/utils/time/combocid.c   |  2 +-
src/pl/plpgsql/src/pl_comp.c|  6 +--
src/pl/plpgsql/src/pl_exec.c|  2 +-
28 files changed, 108 insertions(+), 146 deletions(-)