pgsql: doc: PG 16 relnotes: move role INHERIT item and clarify it

2023-08-21 Thread Bruce Momjian
doc: PG 16 relnotes: move role INHERIT item and clarify it Also split out new role ADMIN syntax entry. Reported-by: Pavel Luzanov Discussion: https://postgr.es/m/0ebcc8ea-7f5a-d014-d53f-e078622be...@aklaver.com Backpatch-through: 16 only Branch -- REL_16_STABLE Details --- https://g

pgsql: doc: PG 16 relnotes: adjust RANGE/ROWS window item

2023-08-21 Thread Bruce Momjian
doc: PG 16 relnotes: adjust RANGE/ROWS window item Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj5cj3wbh07ym5lw2h5q8s65cng_nedkkwvmro+voor...@mail.gmail.com Backpatch-through: 16 only Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdif

pgsql: Simplify the logical worker type checks by using the switch on w

2023-08-21 Thread Amit Kapila
Simplify the logical worker type checks by using the switch on worker type. The current code uses if/else statements at various places to take worker specific actions. Change those to use the switch on worker type added by commit 2a8b40e368. This makes code easier to read and understand. Author:

Re: pgsql: Improve BRIN minmax-multi opclass test coverage

2023-08-21 Thread Peter Eisentraut
These new tests introduced a few new calls of the md5() function. This should be avoided (see commit 208bf364a9). You can replace these easily with the fipshash() function instead, but I think you then also need to change some of the constants in the tests. Could you look at this again? On