pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/

2022-11-08 Thread Michael Paquier
Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/ Upstream SELinux has recently marked security_context_t as officially deprecated, causing warnings with -Wdeprecated-declarations. This is considered as legacy code for some time now by upstream as security_context_t got removed fro

pgsql: Provide sigaction() for Windows.

2022-11-08 Thread Thomas Munro
Provide sigaction() for Windows. Commit 9abb2bfc left behind code to block signals inside signal handlers on Windows, because our signal porting layer didn't have sigaction(). Provide a minimal implementation that is capable of blocking signals, to get rid of platform differences. See also relat

pgsql: Use AbsoluteConfigLocation() when building an included path in h

2022-11-08 Thread Michael Paquier
Use AbsoluteConfigLocation() when building an included path in hba.c The code building an absolute path to a file included, as prefixed by '@' in authentication files, for user and database lists uses the same logic as for GUCs, except that it has no need to know about DataDir as there is always a

pgsql: Doc: improve tutorial section about grouped aggregates.

2022-11-08 Thread Tom Lane
Doc: improve tutorial section about grouped aggregates. Commit fede15417 introduced FILTER by jamming it into the existing example introducing HAVING, which seems pedagogically poor to me; and it added no information about what the keyword actually does. Not to mention that the claimed output didn

pgsql: Doc: improve tutorial section about grouped aggregates.

2022-11-08 Thread Tom Lane
Doc: improve tutorial section about grouped aggregates. Commit fede15417 introduced FILTER by jamming it into the existing example introducing HAVING, which seems pedagogically poor to me; and it added no information about what the keyword actually does. Not to mention that the claimed output didn

pgsql: Doc: improve tutorial section about grouped aggregates.

2022-11-08 Thread Tom Lane
Doc: improve tutorial section about grouped aggregates. Commit fede15417 introduced FILTER by jamming it into the existing example introducing HAVING, which seems pedagogically poor to me; and it added no information about what the keyword actually does. Not to mention that the claimed output didn

pgsql: Doc: improve tutorial section about grouped aggregates.

2022-11-08 Thread Tom Lane
Doc: improve tutorial section about grouped aggregates. Commit fede15417 introduced FILTER by jamming it into the existing example introducing HAVING, which seems pedagogically poor to me; and it added no information about what the keyword actually does. Not to mention that the claimed output didn

pgsql: Doc: improve tutorial section about grouped aggregates.

2022-11-08 Thread Tom Lane
Doc: improve tutorial section about grouped aggregates. Commit fede15417 introduced FILTER by jamming it into the existing example introducing HAVING, which seems pedagogically poor to me; and it added no information about what the keyword actually does. Not to mention that the claimed output didn

pgsql: Doc: improve tutorial section about grouped aggregates.

2022-11-08 Thread Tom Lane
Doc: improve tutorial section about grouped aggregates. Commit fede15417 introduced FILTER by jamming it into the existing example introducing HAVING, which seems pedagogically poor to me; and it added no information about what the keyword actually does. Not to mention that the claimed output didn

pgsql: Tag refs/tags/REL_13_9 was created

2022-11-08 Thread noreply
Tag refs/tags/REL_13_9 was created.

pgsql: Tag refs/tags/REL_12_13 was created

2022-11-08 Thread noreply
Tag refs/tags/REL_12_13 was created.

pgsql: Tag refs/tags/REL_11_18 was created

2022-11-08 Thread noreply
Tag refs/tags/REL_11_18 was created.

pgsql: Tag refs/tags/REL_15_1 was created

2022-11-08 Thread noreply
Tag refs/tags/REL_15_1 was created.

pgsql: Tag refs/tags/REL_14_6 was created

2022-11-08 Thread noreply
Tag refs/tags/REL_14_6 was created.

pgsql: Tag refs/tags/REL_10_23 was created

2022-11-08 Thread noreply
Tag refs/tags/REL_10_23 was created.

pgsql: Unify some internal error message wordings

2022-11-08 Thread Peter Eisentraut
Unify some internal error message wordings Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/b5621b66e778112c78d381414dff8917320f71d2 Modified Files -- src/backend/catalog/aclchk.c| 8 src/backend/catalog/objectaddress.c | 12 ++--

pgsql: Produce more-optimal plans for bitmap scans on boolean columns.

2022-11-08 Thread Tom Lane
Produce more-optimal plans for bitmap scans on boolean columns. The planner simplifies boolean comparisons such as "x = true" and "x = false" down to "x" and "NOT x" respectively, to have a canonical form to ease comparisons. However, if we want to use an index on x, the index AM APIs require us