pgsql: Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings

2020-01-09 Thread Andrew Dunstan
Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings This allows different users to authenticate with different certificates. Author: Craig Ringer Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f5fd995a1a24e6571d26b1e29c4dc179112b1003 Modified Files ---

pgsql: Add support for automatically updating Unicode derived files

2020-01-09 Thread Peter Eisentraut
Add support for automatically updating Unicode derived files We currently have several sets of files generated from data provided by Unicode. These all have ad hoc rules and instructions for updating when new Unicode versions appear, and it's not done consistently. This patch centralizes and aut

pgsql: Clarify that pg_trgm is used in example

2020-01-09 Thread Magnus Hagander
Clarify that pg_trgm is used in example Reported-by: Octopus ZHANG Author: Daniel Gustafsson Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e3019f631d1f2e21667ad05f903c52d904b9048c Modified Files -- doc/src/sgml/rules.sgml | 3 ++- 1 file changed, 2 ins

pgsql: Remove bogus 'return'.

2020-01-09 Thread Robert Haas
Remove bogus 'return'. Per the buildfarm, via Michael Paquier. Discussion: http://postgr.es/m/20200108032648.ge3...@paquier.xyz Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5acf6d8bb4ec23349604c7c15111959e657ff294 Modified Files -- src/include/acces

Re: pgsql: tableam: New callback relation_fetch_toast_slice.

2020-01-09 Thread Robert Haas
On Tue, Jan 7, 2020 at 10:27 PM Michael Paquier wrote: > anole does not compile after this commit: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=anole&dt=2020-01-08%2001%3A54%3A11 > > From the logs: > make[4]: Entering directory > `/home/pgbfarm/buildroot/HEAD/pgsql.build/src/backend/a

pgsql: doc: Add link to upgrading chapter to release notes

2020-01-09 Thread Peter Eisentraut
doc: Add link to upgrading chapter to release notes Author: Vik Fearing Discussion: https://www.postgresql.org/message-id/flat/54c208b9-7e2c-6211-0ba0-ffb0429cf...@2ndquadrant.com Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/e05a3b490a258293c017bd107813c

pgsql: doc: Add link to upgrading chapter to release notes

2020-01-09 Thread Peter Eisentraut
doc: Add link to upgrading chapter to release notes Author: Vik Fearing Discussion: https://www.postgresql.org/message-id/flat/54c208b9-7e2c-6211-0ba0-ffb0429cf...@2ndquadrant.com Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/676c9156bbc8edb2f5249835d511c

pgsql: doc: Add link to upgrading chapter to release notes

2020-01-09 Thread Peter Eisentraut
doc: Add link to upgrading chapter to release notes Author: Vik Fearing Discussion: https://www.postgresql.org/message-id/flat/54c208b9-7e2c-6211-0ba0-ffb0429cf...@2ndquadrant.com Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/4c6f541a0affb44b2f0e5e3d99f75

pgsql: Add pg_shmem_allocations view.

2020-01-09 Thread Robert Haas
Add pg_shmem_allocations view. This tells you about allocations that have been made from the main shared memory segment. The original patch also tried to show information about dynamic shared memory allocation as well, but I decided to leave that problem for another time. Andres Freund and Robert

pgsql: Reconsider the representation of join alias Vars.

2020-01-09 Thread Tom Lane
Reconsider the representation of join alias Vars. The core idea of this patch is to make the parser generate join alias Vars (that is, ones with varno pointing to a JOIN RTE) only when the alias Var is actually different from any raw join input, that is a type coercion and/or COALESCE is necessary

Re: pgsql: Add pg_shmem_allocations view.

2020-01-09 Thread Tom Lane
Robert Haas writes: > Add pg_shmem_allocations view. This should have included a catversion bump. It's moot now because I just pushed another change that had one, but ... regards, tom lane

Re: pgsql: Add pg_shmem_allocations view.

2020-01-09 Thread Robert Haas
On Thu, Jan 9, 2020 at 11:59 AM Tom Lane wrote: > Robert Haas writes: > > Add pg_shmem_allocations view. > > This should have included a catversion bump. It's moot now because > I just pushed another change that had one, but ... Ah, darn. Sorry. -- Robert Haas EnterpriseDB: http://www.enterpr

pgsql: Skip tab-completion tests if envar SKIP_READLINE_TESTS is define

2020-01-09 Thread Tom Lane
Skip tab-completion tests if envar SKIP_READLINE_TESTS is defined. Experience so far suggests that getting these tests to pass on all libedit versions that are out there may be impossible, or require dumbing down the tests to the point of uselessness. So we need to provide a way to skip them when

Re: pgsql: tableam: New callback relation_fetch_toast_slice.

2020-01-09 Thread Michael Paquier
On Thu, Jan 09, 2020 at 09:12:48AM -0500, Robert Haas wrote: > Huh, I'm surprised that didn't break everywhere. Pushed a fix. Thanks. -- Michael signature.asc Description: PGP signature

pgsql: pgbench: Make more debug messages use common logging API

2020-01-09 Thread Michael Paquier
pgbench: Make more debug messages use common logging API This is a follow-up of 30a3e772, making the output more consistent when using --debug for meta-command execution. Author: Michael Paquier Reviewed-by: Fabien Coelho Discussion: https://postgr.es/m/alpine.DEB.2.21.1912241100390.3339@pseudo

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/7b84ff33a14095b6252edbee686edf93ac9c8d1

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/24d559db92faf8695cb285364c7cf6fe5c57668

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/2696434b7f6b38799e338ac66962ee75f97d3eb

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/00b047fa67e9f4428a682bd90d5e6b08d2f8a87b Modi

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/27676e22d330e6a6f30b1e1dd6ed6e3d3413f20

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/2e89a1248db51bebd01f41011d439cdf9832eca

pgsql: doc: Fix naming of SELinux

2020-01-09 Thread Michael Paquier
doc: Fix naming of SELinux Reported-by: Tham Nguyen Discussion: https://postgr.es/m/157851402876.29175.12977878383183540...@wrigleys.postgresql.org Backpatch-through: 9.4 Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/8d55879f089563cf1d62266d921c0a00d2b9fff