pgsql: Disable autovacuum on primary in 040_standby_failover_slots_sync

2024-02-16 Thread Amit Kapila
Disable autovacuum on primary in 040_standby_failover_slots_sync test. Disable autovacuum to avoid generating xid during stats update as otherwise the new XID could then be replicated to standby at some random point making slots at primary lag behind standby during slot sync. As per buildfarm Au

pgsql: Remove non-existing file from .gitattributes

2024-02-16 Thread Peter Eisentraut
Remove non-existing file from .gitattributes The file was removed by ac25173cdbc. Author: Jelte Fennema-Nio Discussion: https://www.postgresql.org/message-id/flat/CAGECzQQGzbroAXi%2BYicp3HvcCo4%3Dg84kaOgjuvQ5MW9F0ubOGg%40mail.gmail.com Branch -- REL_15_STABLE Details --- https://git.p

pgsql: Remove non-existing file from .gitattributes

2024-02-16 Thread Peter Eisentraut
Remove non-existing file from .gitattributes The file was removed by ac25173cdbc. Author: Jelte Fennema-Nio Discussion: https://www.postgresql.org/message-id/flat/CAGECzQQGzbroAXi%2BYicp3HvcCo4%3Dg84kaOgjuvQ5MW9F0ubOGg%40mail.gmail.com Branch -- REL_16_STABLE Details --- https://git.p

pgsql: Remove non-existing file from .gitattributes

2024-02-16 Thread Peter Eisentraut
Remove non-existing file from .gitattributes The file was removed by ac25173cdbc. Author: Jelte Fennema-Nio Discussion: https://www.postgresql.org/message-id/flat/CAGECzQQGzbroAXi%2BYicp3HvcCo4%3Dg84kaOgjuvQ5MW9F0ubOGg%40mail.gmail.com Branch -- master Details --- https://git.postgres

pgsql: Improve compression and storage support with inheritance

2024-02-16 Thread Peter Eisentraut
Improve compression and storage support with inheritance A child table can specify a compression or storage method different from its parents. This was previously an error. (But this was inconsistently enforced because for example the settings could be changed later using ALTER TABLE.) This now

pgsql: Remove timeouts-long.out

2024-02-16 Thread Alexander Korotkov
Remove timeouts-long.out bf82f43790 removes timeouts-long.spec, but forgets to remove timeouts-long.out. Reported-by: Alexander Lakhin Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/eb49e1bdd90b0f0434c01e6e00dedcd9466b5a6e Modified Files -- src/test/i

pgsql: Add missing check_stack_depth() to some recursive functions

2024-02-16 Thread Alexander Korotkov
Add missing check_stack_depth() to some recursive functions Reported-by: Egor Chindyaskin, Alexander Lakhin Discussion: https://postgr.es/m/1672760457.940462079%40f306.i.mail.ru Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d57b7cc3338e9d9aa1d7c5da1b25a17c5a72dcce

pgsql: Replace calls to pg_qsort() with the qsort() macro.

2024-02-16 Thread Nathan Bossart
Replace calls to pg_qsort() with the qsort() macro. Calls to this function might give the impression that pg_qsort() is somehow different than qsort(), when in fact there is a qsort() macro in port.h that expands all in-tree uses to pg_qsort(). Reviewed-by: Mats Kindahl Discussion: https://postg

pgsql: Add assert to WALReadFromBuffers().

2024-02-16 Thread Jeff Davis
Add assert to WALReadFromBuffers(). Per suggestion from Andres. Discussion: https://postgr.es/m/20240214025508.6mcblauossthv...@awork3.anarazel.de Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9ecbf54075a91ed155cc779fcc1870de0fff5fef Modified Files

pgsql: Pass correct count to WALRead().

2024-02-16 Thread Jeff Davis
Pass correct count to WALRead(). Previously, some callers requested XLOG_BLCKSZ bytes unconditionally. While this did not cause a problem, because the extra bytes are ignored, it's confusing and makes it harder to add safety checks. Additionally, the comment about zero padding was incorrect. With

pgsql: Introduce overflow-safe integer comparison functions.

2024-02-16 Thread Nathan Bossart
Introduce overflow-safe integer comparison functions. This commit adds integer comparison functions that are designed to be as efficient as possible while avoiding overflow. A follow-up commit will make use of these functions in many of the in-tree qsort() comparators. The new functions are not

pgsql: Use new overflow-safe integer comparison functions.

2024-02-16 Thread Nathan Bossart
Use new overflow-safe integer comparison functions. Commit 6b80394781 introduced integer comparison functions designed to be as efficient as possible while avoiding overflow. This commit makes use of these functions in many of the in-tree qsort() comparators to help ensure transitivity. Many of

pgsql: Remove remaining references to timeouts-long

2024-02-16 Thread Alexander Korotkov
Remove remaining references to timeouts-long Reported-by: Alexander Lakhin Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a6c21887a9f0251fa2331ea3ad0dd20b31c4d11d Modified Files -- src/test/isolation/Makefile | 3 --- 1 file changed, 3 deletions(-)