pgsql: Refresh function name in CRC-associated Valgrind suppressions.

2020-06-05 Thread Noah Misch
Refresh function name in CRC-associated Valgrind suppressions. Back-patch to 9.5, where commit 4f700bcd20c087f60346cb8aefd0e269be8e2157 first appeared. Reviewed by Tom Lane. Reported by Andrew Dunstan. Discussion: https://postgr.es/m/4dfabec2-a3ad-0546-2d62-f816c97ed...@2ndquadrant.com Branch

pgsql: Refresh function name in CRC-associated Valgrind suppressions.

2020-06-05 Thread Noah Misch
Refresh function name in CRC-associated Valgrind suppressions. Back-patch to 9.5, where commit 4f700bcd20c087f60346cb8aefd0e269be8e2157 first appeared. Reviewed by Tom Lane. Reported by Andrew Dunstan. Discussion: https://postgr.es/m/4dfabec2-a3ad-0546-2d62-f816c97ed...@2ndquadrant.com Branch

pgsql: Refresh function name in CRC-associated Valgrind suppressions.

2020-06-05 Thread Noah Misch
Refresh function name in CRC-associated Valgrind suppressions. Back-patch to 9.5, where commit 4f700bcd20c087f60346cb8aefd0e269be8e2157 first appeared. Reviewed by Tom Lane. Reported by Andrew Dunstan. Discussion: https://postgr.es/m/4dfabec2-a3ad-0546-2d62-f816c97ed...@2ndquadrant.com Branch

pgsql: Refresh function name in CRC-associated Valgrind suppressions.

2020-06-05 Thread Noah Misch
Refresh function name in CRC-associated Valgrind suppressions. Back-patch to 9.5, where commit 4f700bcd20c087f60346cb8aefd0e269be8e2157 first appeared. Reviewed by Tom Lane. Reported by Andrew Dunstan. Discussion: https://postgr.es/m/4dfabec2-a3ad-0546-2d62-f816c97ed...@2ndquadrant.com Branch

pgsql: Refresh function name in CRC-associated Valgrind suppressions.

2020-06-05 Thread Noah Misch
Refresh function name in CRC-associated Valgrind suppressions. Back-patch to 9.5, where commit 4f700bcd20c087f60346cb8aefd0e269be8e2157 first appeared. Reviewed by Tom Lane. Reported by Andrew Dunstan. Discussion: https://postgr.es/m/4dfabec2-a3ad-0546-2d62-f816c97ed...@2ndquadrant.com Branch

pgsql: Refresh function name in CRC-associated Valgrind suppressions.

2020-06-05 Thread Noah Misch
Refresh function name in CRC-associated Valgrind suppressions. Back-patch to 9.5, where commit 4f700bcd20c087f60346cb8aefd0e269be8e2157 first appeared. Reviewed by Tom Lane. Reported by Andrew Dunstan. Discussion: https://postgr.es/m/4dfabec2-a3ad-0546-2d62-f816c97ed...@2ndquadrant.com Branch

pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

2020-06-05 Thread Joe Conway
Add unlikely() to CHECK_FOR_INTERRUPTS() Add the unlikely() branch hint macro to CHECK_FOR_INTERRUPTS(). Backpatch to REL_10_STABLE where we first started using unlikely(). Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch --

pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

2020-06-05 Thread Joe Conway
Add unlikely() to CHECK_FOR_INTERRUPTS() Add the unlikely() branch hint macro to CHECK_FOR_INTERRUPTS(). Backpatch to REL_10_STABLE where we first started using unlikely(). Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch --

pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

2020-06-05 Thread Joe Conway
Add unlikely() to CHECK_FOR_INTERRUPTS() Add the unlikely() branch hint macro to CHECK_FOR_INTERRUPTS(). Backpatch to REL_10_STABLE where we first started using unlikely(). Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch --

pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

2020-06-05 Thread Joe Conway
Add unlikely() to CHECK_FOR_INTERRUPTS() Add the unlikely() branch hint macro to CHECK_FOR_INTERRUPTS(). Backpatch to REL_10_STABLE where we first started using unlikely(). Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com Branch --

pgsql: Doc: remove annotations about multi-row output of set-returning

2020-06-05 Thread Tom Lane
Doc: remove annotations about multi-row output of set-returning functions. I thought this added clarity, or at least was consistent with the way these entries looked before v13 ... but apparently I'm in the minority. Discussion: https://postgr.es/m/cafj8praxuetihufs73zjsjd6b78fwcusbs-j23sdcmfxkg

pgsql: Improve ineq_histogram_selectivity's behavior for non-default or

2020-06-05 Thread Tom Lane
Improve ineq_histogram_selectivity's behavior for non-default orderings. ineq_histogram_selectivity() can be invoked in situations where the ordering we care about is not that of the column's histogram. We could be considering some other collation, or even more drastically, the query operator mig

pgsql: Use query collation, not column's collation, while examining sta

2020-06-05 Thread Tom Lane
Use query collation, not column's collation, while examining statistics. Commit 5e0928005 changed the planner so that, instead of blindly using DEFAULT_COLLATION_OID when invoking operators for selectivity estimation, it would use the collation of the column whose statistics we're considering. Th

pgsql: Use query collation, not column's collation, while examining sta

2020-06-05 Thread Tom Lane
Use query collation, not column's collation, while examining statistics. Commit 5e0928005 changed the planner so that, instead of blindly using DEFAULT_COLLATION_OID when invoking operators for selectivity estimation, it would use the collation of the column whose statistics we're considering. Th

pgsql: OpenSSL 3.0.0 compatibility in tests

2020-06-05 Thread Peter Eisentraut
OpenSSL 3.0.0 compatibility in tests DES has been deprecated in OpenSSL 3.0.0 which makes loading keys encrypted with DES fail with "fetch failed". Solve by changing the cipher used to aes256 which has been supported since 1.0.1 (and is more realistic to use anyways). Note that the minimum suppo