pgsql: Fix assertion failure when updating stats_fetch_consistency in a

2023-05-09 Thread Michael Paquier
Fix assertion failure when updating stats_fetch_consistency in a transaction An update of the GUC stats_fetch_consistency in a transaction would be able to trigger an assertion when doing cache->snapshot. In this case, when retrieving a pgstat entry after the switch, a new snapshot would be

pgsql: Fix assertion failure when updating stats_fetch_consistency in a

2023-05-09 Thread Michael Paquier
Fix assertion failure when updating stats_fetch_consistency in a transaction An update of the GUC stats_fetch_consistency in a transaction would be able to trigger an assertion when doing cache->snapshot. In this case, when retrieving a pgstat entry after the switch, a new snapshot would be

pgsql: Document values of stats_fetch_consistency in postgresql.conf.sa

2023-05-09 Thread Michael Paquier
Document values of stats_fetch_consistency in postgresql.conf.sample Issue noted while looking at a patch related to that. Discussion: https://postgr.es/m/ZE9LiFc7JdNHokz/@paquier.xyz Branch -- master Details ---

pgsql: Tag refs/tags/REL_12_15 was created

2023-05-09 Thread noreply
Tag refs/tags/REL_12_15 was created.

pgsql: Tag refs/tags/REL_11_20 was created

2023-05-09 Thread noreply
Tag refs/tags/REL_11_20 was created.

pgsql: Tag refs/tags/REL_15_3 was created

2023-05-09 Thread noreply
Tag refs/tags/REL_15_3 was created.

pgsql: Tag refs/tags/REL_13_11 was created

2023-05-09 Thread noreply
Tag refs/tags/REL_13_11 was created.

pgsql: Tag refs/tags/REL_14_8 was created

2023-05-09 Thread noreply
Tag refs/tags/REL_14_8 was created.

pgsql: Fix the race condition in the test case added by commit a6e04b1d

2023-05-09 Thread Amit Kapila
Fix the race condition in the test case added by commit a6e04b1d20. The commit a6e04b1d20 added a test to ensure that the invalidated logical slots don't retain WAL. The test was ensuring that the checkpoint removes the WAL files corresponding to invalidated logical slots on the standby node but