pgsql: test_extensions: sync meson.build with Makefile.

2023-07-07 Thread Jeff Davis
test_extensions: sync meson.build with Makefile. Makefile does not specify ENCODING, meson.build should not, either. Oversight in commit 877bf52cff. Discussion: https://postgr.es/m/[email protected] Reported-by: Michael Paquier Branch -- master Details --- https://git.postgre

pgsql: Revert MAINTAIN privilege and pg_maintain predefined role.

2023-07-07 Thread Nathan Bossart
Revert MAINTAIN privilege and pg_maintain predefined role. This reverts the following commits: 4dbdb82513, c2122aae63, 5b1a879943, 9e1e9d6560, ff9618e82a, 60684dd834, 4441fc704d, and b5d6382496. A role with the MAINTAIN privilege may be able to use search_path tricks to escalate privileges to the

pgsql: Revert MAINTAIN privilege and pg_maintain predefined role.

2023-07-07 Thread Nathan Bossart
Revert MAINTAIN privilege and pg_maintain predefined role. This reverts the following commits: 4dbdb82513, c2122aae63, 5b1a879943, 9e1e9d6560, ff9618e82a, 60684dd834, 4441fc704d, and b5d6382496. A role with the MAINTAIN privilege may be able to use search_path tricks to escalate privileges to the

pgsql: Document relaxed HOT for summarizing indexes

2023-07-07 Thread Tomas Vondra
Document relaxed HOT for summarizing indexes Commit 19d8e2308b allowed a weaker check for HOT with summarizing indexes, but it did not update README.HOT. So do that now. Patch by Matthias van de Meent, minor changes by me. Backpatch to 16, where the optimization was introduced. Author: Matthias

pgsql: Document relaxed HOT for summarizing indexes

2023-07-07 Thread Tomas Vondra
Document relaxed HOT for summarizing indexes Commit 19d8e2308b allowed a weaker check for HOT with summarizing indexes, but it did not update README.HOT. So do that now. Patch by Matthias van de Meent, minor changes by me. Backpatch to 16, where the optimization was introduced. Author: Matthias