pgsql: Add collation versions for FreeBSD.

2020-11-20 Thread Thomas Munro
Add collation versions for FreeBSD. On FreeBSD 13, use querylocale() to read the current version of libc collations. Similar to commits 352f6f2d for Windows and d5ac14f9 for GNU/Linux. Discussion: https://postgr.es/m/CAEepm%3D0uEQCpfq_%2BLYFBdArCe4Ot98t1aR4eYiYTe%3DyavQygiQ%40mail.gmail.com Br

pgsql: Replace a macro by a function

2020-11-20 Thread Peter Eisentraut
Replace a macro by a function Using a macro is ugly and not justified here. Discussion: https://www.postgresql.org/message-id/flat/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/b5acf10cfc63ed1e0bc4eef466c0f467

pgsql: Remove ability to independently select random number generator

2020-11-20 Thread Magnus Hagander
Remove ability to independently select random number generator Remove the ability to select random number generator independently from SSL library. Instead, use the random number generator from the SSL library (today only OpenSSL supported) if one is configured. If no SSL library is configured, us

pgsql: Skip allocating hash table in EXPLAIN-only mode.

2020-11-20 Thread Heikki Linnakangas
Skip allocating hash table in EXPLAIN-only mode. This is a backpatch of commit 2cccb627f1, backpatched due to popular demand. Backpatch to all supported versions. Author: Alexey Bashtanov Discussion: https://www.postgresql.org/message-id/36823f65-050d-ae24-aa4d-a37726998240%40imap.cc Branch ---

pgsql: Skip allocating hash table in EXPLAIN-only mode.

2020-11-20 Thread Heikki Linnakangas
Skip allocating hash table in EXPLAIN-only mode. This is a backpatch of commit 2cccb627f1, backpatched due to popular demand. Backpatch to all supported versions. Author: Alexey Bashtanov Discussion: https://www.postgresql.org/message-id/36823f65-050d-ae24-aa4d-a37726998240%40imap.cc Branch ---

pgsql: Skip allocating hash table in EXPLAIN-only mode.

2020-11-20 Thread Heikki Linnakangas
Skip allocating hash table in EXPLAIN-only mode. This is a backpatch of commit 2cccb627f1, backpatched due to popular demand. Backpatch to all supported versions. Author: Alexey Bashtanov Discussion: https://www.postgresql.org/message-id/36823f65-050d-ae24-aa4d-a37726998240%40imap.cc Branch ---

pgsql: Skip allocating hash table in EXPLAIN-only mode.

2020-11-20 Thread Heikki Linnakangas
Skip allocating hash table in EXPLAIN-only mode. This is a backpatch of commit 2cccb627f1, backpatched due to popular demand. Backpatch to all supported versions. Author: Alexey Bashtanov Discussion: https://www.postgresql.org/message-id/36823f65-050d-ae24-aa4d-a37726998240%40imap.cc Branch ---

pgsql: Skip allocating hash table in EXPLAIN-only mode.

2020-11-20 Thread Heikki Linnakangas
Skip allocating hash table in EXPLAIN-only mode. This is a backpatch of commit 2cccb627f1, backpatched due to popular demand. Backpatch to all supported versions. Author: Alexey Bashtanov Discussion: https://www.postgresql.org/message-id/36823f65-050d-ae24-aa4d-a37726998240%40imap.cc Branch ---

pgsql: Skip allocating hash table in EXPLAIN-only mode.

2020-11-20 Thread Heikki Linnakangas
Skip allocating hash table in EXPLAIN-only mode. This is a backpatch of commit 2cccb627f1, backpatched due to popular demand. Backpatch to all supported versions. Author: Alexey Bashtanov Discussion: https://www.postgresql.org/message-id/36823f65-050d-ae24-aa4d-a37726998240%40imap.cc Branch ---

pgsql: Make pg_rewind test case more stable.

2020-11-20 Thread Heikki Linnakangas
Make pg_rewind test case more stable. If replication is exceptionally slow for some reason, pg_rewind might run before the test row has been replicated. Add an explicit wait for it. Reported-by: Andres Freund Discussion: https://www.postgresql.org/message-id/20201120003811.iknhqwatitw2vvxf%40ala

pgsql: doc: Improve tableoid description

2020-11-20 Thread Peter Eisentraut
doc: Improve tableoid description Mention that it's useful for determining table names for partitioned tables as well as for those in inheritance hierarchies. Author: Ian Lawrence Barwick Reviewed-by: Ashutosh Bapat Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=gFmBXP=p9htzioj+