postgresql/src
Alvaro Herrera bbb927b4db
Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion
More precisely, correctly handle the ONLY flag indicating not to
recurse.  This was implemented in 86f575948c by recursing in
trigger.c, but that's the wrong place; use ATSimpleRecursion instead,
which behaves properly.  However, because legacy inheritance has never
recursed in that situation, make sure to do that only for new-style
partitioning.

I noticed this problem while testing a fix for another bug in the
vicinity.

This has been wrong all along, so backpatch to 11.

Discussion: https://postgr.es/m/20201016235925.GA29829@alvherre.pgsql
2020-10-20 19:22:09 -03:00
..
backend Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion 2020-10-20 19:22:09 -03:00
bin Fix connection string handling in src/bin/scripts/ programs. 2020-10-19 19:03:46 -04:00
common Fix compilation warning in unicode_norm.c 2020-10-12 20:34:55 +09:00
fe_utils Standardize the printf format for st_size 2020-09-24 21:04:21 +02:00
include Change the attribute name in pg_stat_replication_slots view. 2020-10-20 10:24:36 +05:30
interfaces Update the Winsock API version requested by libpq. 2020-10-18 12:56:43 -04:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Fixup some appendStringInfo and appendPQExpBuffer calls 2020-10-15 20:35:17 +13:00
port Minor cleanup for win32stat.c. 2020-10-12 11:13:02 -04:00
template Fix compiler warning for ppoll() on Cygwin 2019-12-22 23:20:00 +01:00
test Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion 2020-10-20 19:22:09 -03:00
timezone Update time zone data files to tzdata release 2020c. 2020-10-16 21:53:33 -04:00
tools Sync our copy of the timezone library with IANA release tzcode2020c. 2020-10-16 21:40:16 -04:00
tutorial Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Split Makefile symbol CFLAGS_VECTOR into two symbols. 2020-09-06 21:28:16 -04:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00