pgsql: Fix dependency handling of partitions and inheritance for ON COM

2018-11-08 Thread Michael Paquier
Fix dependency handling of partitions and inheritance for ON COMMIT This commit fixes a set of issues with ON COMMIT actions when used on partitioned tables and tables with inheritance children: - Applying ON COMMIT DROP on a partitioned table with partitions or on a table with inheritance childre

pgsql: Fix dependency handling of partitions and inheritance for ON COM

2018-11-08 Thread Michael Paquier
Fix dependency handling of partitions and inheritance for ON COMMIT This commit fixes a set of issues with ON COMMIT actions when used on partitioned tables and tables with inheritance children: - Applying ON COMMIT DROP on a partitioned table with partitions or on a table with inheritance childre

pgsql: Fix dependency handling of partitions and inheritance for ON COM

2018-11-08 Thread Michael Paquier
Fix dependency handling of partitions and inheritance for ON COMMIT This commit fixes a set of issues with ON COMMIT actions when used on partitioned tables and tables with inheritance children: - Applying ON COMMIT DROP on a partitioned table with partitions or on a table with inheritance childre

pgsql: Disallow setting client_min_messages higher than ERROR.

2018-11-08 Thread Tom Lane
Disallow setting client_min_messages higher than ERROR. Previously it was possible to set client_min_messages to FATAL or PANIC, which had the effect of suppressing transmission of regular ERROR messages to the client. Perhaps that seemed like a useful option in the past, but the trouble with it

pgsql: Disallow setting client_min_messages higher than ERROR.

2018-11-08 Thread Tom Lane
Disallow setting client_min_messages higher than ERROR. Previously it was possible to set client_min_messages to FATAL or PANIC, which had the effect of suppressing transmission of regular ERROR messages to the client. Perhaps that seemed like a useful option in the past, but the trouble with it

pgsql: Disallow setting client_min_messages higher than ERROR.

2018-11-08 Thread Tom Lane
Disallow setting client_min_messages higher than ERROR. Previously it was possible to set client_min_messages to FATAL or PANIC, which had the effect of suppressing transmission of regular ERROR messages to the client. Perhaps that seemed like a useful option in the past, but the trouble with it

pgsql: Disallow setting client_min_messages higher than ERROR.

2018-11-08 Thread Tom Lane
Disallow setting client_min_messages higher than ERROR. Previously it was possible to set client_min_messages to FATAL or PANIC, which had the effect of suppressing transmission of regular ERROR messages to the client. Perhaps that seemed like a useful option in the past, but the trouble with it

pgsql: Disallow setting client_min_messages higher than ERROR.

2018-11-08 Thread Tom Lane
Disallow setting client_min_messages higher than ERROR. Previously it was possible to set client_min_messages to FATAL or PANIC, which had the effect of suppressing transmission of regular ERROR messages to the client. Perhaps that seemed like a useful option in the past, but the trouble with it

pgsql: Disallow setting client_min_messages higher than ERROR.

2018-11-08 Thread Tom Lane
Disallow setting client_min_messages higher than ERROR. Previously it was possible to set client_min_messages to FATAL or PANIC, which had the effect of suppressing transmission of regular ERROR messages to the client. Perhaps that seemed like a useful option in the past, but the trouble with it

pgsql: Revise attribute handling code on partition creation

2018-11-08 Thread Alvaro Herrera
Revise attribute handling code on partition creation The original code to propagate NOT NULL and default expressions specified when creating a partition was mostly copy-pasted from typed-tables creation, but not being a great match it contained some duplicity, inefficiency and bugs. This commit f

pgsql: Revise attribute handling code on partition creation

2018-11-08 Thread Alvaro Herrera
Revise attribute handling code on partition creation The original code to propagate NOT NULL and default expressions specified when creating a partition was mostly copy-pasted from typed-tables creation, but not being a great match it contained some duplicity, inefficiency and bugs. This commit f

pgsql: Revise attribute handling code on partition creation

2018-11-08 Thread Alvaro Herrera
Revise attribute handling code on partition creation The original code to propagate NOT NULL and default expressions specified when creating a partition was mostly copy-pasted from typed-tables creation, but not being a great match it contained some duplicity, inefficiency and bugs. This commit f

pgsql: Last-minute updates for release notes.

2018-11-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2018-16850 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/1eaeb02a30b307bad4d6a9cc2d596273a5a38a7a Modified Files -- doc/src/sgml/release-10.sgml | 41 ++-- doc/src/sgml/releas

pgsql: Last-minute updates for release notes.

2018-11-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2018-16850 Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/613373b52b08dee01fad2f25162dd92486740c76 Modified Files -- doc/src/sgml/release-10.sgml | 41 +

pgsql: Last-minute updates for release notes.

2018-11-08 Thread Tom Lane
Last-minute updates for release notes. Security: CVE-2018-16850 Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/2da33cbd52aaf5cbc4bc6c4e42e8879ee75a859d Modified Files -- doc/src/sgml/release-10.sgml | 41 ++-- doc/src/sgml

pgsql: Adjust valgrind fix in commit 517b0d0b5f

2018-11-08 Thread Andrew Dunstan
Adjust valgrind fix in commit 517b0d0b5f lousyjack still wasn't happy. I have tested this modification and it worked. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/12d5f39b15c31c0adc6c7ed06979af340e494fb9 Modified Files -- src/tools/valgrind.supp | 1

pgsql: Fix incorrect routine name reference in partprune.c

2018-11-08 Thread Michael Paquier
Fix incorrect routine name reference in partprune.c Author: Yuzuko Hosoya Discussion: https://postgr.es/m/00ac01d4774c$7feac860$7fc05920$@lab.ntt.co.jp Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/170dccc69ddb5eb379ebb5282d699738177d4543 Modified Files -