pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD

2024-02-08 Thread Peter Eisentraut
Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN Fix for 344d62fb9a9: That commit introduced unlogged sequences and made it so that identity/serial sequences automatically get the persistence level of their owning table. But this works only for CREATE TABLE and not for

pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD

2024-02-08 Thread Peter Eisentraut
Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN Fix for 344d62fb9a9: That commit introduced unlogged sequences and made it so that identity/serial sequences automatically get the persistence level of their owning table. But this works only for CREATE TABLE and not for

pgsql: Fix propagation of persistence to sequences in ALTER TABLE / ADD

2024-02-08 Thread Peter Eisentraut
Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN Fix for 344d62fb9a9: That commit introduced unlogged sequences and made it so that identity/serial sequences automatically get the persistence level of their owning table. But this works only for CREATE TABLE and not for

pgsql: Add previous commit to .git-blame-ignore-revs

2024-02-08 Thread Michael Paquier
Add previous commit to .git-blame-ignore-revs Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3c44746fdb5d5603f6bc4645c78bca6c702fc920 Modified Files -- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+)

pgsql: Fix indentation of copyto.c

2024-02-08 Thread Michael Paquier
Fix indentation of copyto.c Issue introduced by b619852086ed. Per buildfarm member koel. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/49e7c6f78ed608c5d5454080ae19c0e7f1b09a04 Modified Files -- src/backend/commands/copyto.c | 4 ++-- 1 file changed,

pgsql: Improve COPY TO performance when server and client encodings mat

2024-02-08 Thread Michael Paquier
Improve COPY TO performance when server and client encodings match This commit fixes an oversight introduced in c61a2f58418e, where COPY TO would attempt to do encoding conversions even if the encodings of the client and the server matched for multi-byte encodings. All conversions go through

pgsql: Apply pg_dump test cleanups to test_pg_dump as well

2024-02-08 Thread Peter Eisentraut
Apply pg_dump test cleanups to test_pg_dump as well Apply the changes from 41a284411e0 to the test_pg_dump module as well. Here, we just apply the new test consistency checks, but we don't need to fix any existing tests. Discussion:

pgsql: Fix gcc >= 10 warning

2024-02-08 Thread Alexander Korotkov
Fix gcc >= 10 warning Reported-by: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACVQoFXxFm2kCmhHcdM7DjA84_bOjoM8HVAKHbE%2BKrZ1uA%40mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d859fdb36fcdf7cf01fcda0c9ea87865e13ddc1f Modified Files

pgsql: Tag refs/tags/REL_15_6 was created

2024-02-08 Thread noreply
Tag refs/tags/REL_15_6 was created.

pgsql: Tag refs/tags/REL_12_18 was created

2024-02-08 Thread noreply
Tag refs/tags/REL_12_18 was created.

pgsql: Tag refs/tags/REL_13_14 was created

2024-02-08 Thread noreply
Tag refs/tags/REL_13_14 was created.

pgsql: Tag refs/tags/REL_14_11 was created

2024-02-08 Thread noreply
Tag refs/tags/REL_14_11 was created.

pgsql: Tag refs/tags/REL_16_2 was created

2024-02-08 Thread noreply
Tag refs/tags/REL_16_2 was created.

pgsql: Last-minute updates for release notes.

2024-02-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2024-0985 (not CVE-2023-5869 as claimed in prior commit msg) Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/3344db3cfd9f569462937a41af8f536cdd3ac251 Modified Files --

pgsql: Last-minute updates for release notes.

2024-02-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2024-0985 (not CVE-2023-5869 as claimed in prior commit msg) Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/84e6a6e40ffc8e7e42279c6932bd1b9b7f6e24d9 Modified Files --

pgsql: Last-minute updates for release notes.

2024-02-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2024-0985 (not CVE-2023-5869 as claimed in prior commit msg) Branch -- REL_14_STABLE Details --- https://git.postgresql.org/pg/commitdiff/25ee45b7caa992896477841baf8791d8e7fb4e79 Modified Files --

pgsql: Last-minute updates for release notes.

2024-02-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2024-0985 (not CVE-2023-5869 as claimed in prior commit msg) Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/cb620968b6f7339113b7873b9abf5885cb4aa1ee Modified Files --

pgsql: Last-minute updates for release notes.

2024-02-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2024-0985 (not CVE-2023-5869 as claimed in prior commit msg) Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/da21a3a7d5d37e34f2adef07b1f2f6231d61c3cc Modified Files --

pgsql: Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security con

2024-02-08 Thread Heikki Linnakangas
Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context The internal commands in REFRESH MATERIALIZED VIEW CONCURRENTLY are correctly executed in SECURITY_RESTRICTED_OPERATION mode, except for creating the temporary "diff" table, because you cannot create temporary tables in SRO

pgsql: Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security con

2024-02-08 Thread Heikki Linnakangas
Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context The internal commands in REFRESH MATERIALIZED VIEW CONCURRENTLY are correctly executed in SECURITY_RESTRICTED_OPERATION mode, except for creating the temporary "diff" table, because you cannot create temporary tables in SRO

pgsql: Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security con

2024-02-08 Thread Heikki Linnakangas
Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context The internal commands in REFRESH MATERIALIZED VIEW CONCURRENTLY are correctly executed in SECURITY_RESTRICTED_OPERATION mode, except for creating the temporary "diff" table, because you cannot create temporary tables in SRO

pgsql: Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security con

2024-02-08 Thread Heikki Linnakangas
Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context The internal commands in REFRESH MATERIALIZED VIEW CONCURRENTLY are correctly executed in SECURITY_RESTRICTED_OPERATION mode, except for creating the temporary "diff" table, because you cannot create temporary tables in SRO

pgsql: Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security con

2024-02-08 Thread Heikki Linnakangas
Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context The internal commands in REFRESH MATERIALIZED VIEW CONCURRENTLY are correctly executed in SECURITY_RESTRICTED_OPERATION mode, except for creating the temporary "diff" table, because you cannot create temporary tables in SRO

pgsql: Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security con

2024-02-08 Thread Heikki Linnakangas
Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context The internal commands in REFRESH MATERIALIZED VIEW CONCURRENTLY are correctly executed in SECURITY_RESTRICTED_OPERATION mode, except for creating the temporary "diff" table, because you cannot create temporary tables in SRO

pgsql: doc: Remove superfluous bracket in synopsis

2024-02-08 Thread Daniel Gustafsson
doc: Remove superfluous bracket in synopsis Commit 9c08aea6a30 accidentally added one too many end brackets in the synopsis for CREATE DATABASE .. strategy = strat. Fix by removing. Backpatch to v15 where it was introduced. Reported-by: tim.needh...@gmail.com Discussion:

pgsql: doc: Remove superfluous bracket in synopsis

2024-02-08 Thread Daniel Gustafsson
doc: Remove superfluous bracket in synopsis Commit 9c08aea6a30 accidentally added one too many end brackets in the synopsis for CREATE DATABASE .. strategy = strat. Fix by removing. Backpatch to v15 where it was introduced. Reported-by: tim.needh...@gmail.com Discussion:

pgsql: doc: Remove superfluous bracket in synopsis

2024-02-08 Thread Daniel Gustafsson
doc: Remove superfluous bracket in synopsis Commit 9c08aea6a30 accidentally added one too many end brackets in the synopsis for CREATE DATABASE .. strategy = strat. Fix by removing. Backpatch to v15 where it was introduced. Reported-by: tim.needh...@gmail.com Discussion:

pgsql: Fix wrong logic in TransactionIdInRecentPast()

2024-02-08 Thread Alexander Korotkov
Fix wrong logic in TransactionIdInRecentPast() The TransactionIdInRecentPast() should return false for all the transactions older than TransamVariables->oldestClogXid. However, the function contains a bug in comparison FullTransactionId to TransactionID allowing full transactions between nextXid

pgsql: Fix documentation build with older docbook-xsl

2024-02-08 Thread Peter Eisentraut
Fix documentation build with older docbook-xsl Commit b0f0a9432d0 backpatched some code from upstream DocBook XSL to our customization layer. It turned out that this failed to work with anything but the latest DocBook XSL upstream version (1.79.*), because the backpatched code references an XSLT

pgsql: Update comment

2024-02-08 Thread Peter Eisentraut
Update comment The documentation output format htmlhelp is no longer supported, but a comment still mentioned it. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/254361cf1aec4570a7022160f20fa505a876ed0e Modified Files --

pgsql: Update comment

2024-02-08 Thread Peter Eisentraut
Update comment The documentation output format htmlhelp is no longer supported, but a comment still mentioned it. Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/5c699c857cac84a81eebb869ba3f8b539d66f620 Modified Files --

pgsql: Fix meson installation of xid_wraparound test.

2024-02-08 Thread Masahiko Sawada
Fix meson installation of xid_wraparound test. Fix for e255b646a, to prevent installation of xid_wraparound test module during main install. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/84cd416a-0e37-4019-8380-1c8a3cdd8c5c%40eisentraut.org Branch -- master Details ---