pgsql: Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion

2020-10-20 Thread Alvaro Herrera
Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion More precisely, correctly handle the ONLY flag indicating not to recurse. This was implemented in 86f575948c77 by recursing in trigger.c, but that's the wrong place; use ATSimpleRecursion instead, which behaves properly. However, because legacy

pgsql: Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion

2020-10-20 Thread Alvaro Herrera
Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion More precisely, correctly handle the ONLY flag indicating not to recurse. This was implemented in 86f575948c77 by recursing in trigger.c, but that's the wrong place; use ATSimpleRecursion instead, which behaves properly. However, because legacy

pgsql: Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion

2020-10-20 Thread Alvaro Herrera
Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion More precisely, correctly handle the ONLY flag indicating not to recurse. This was implemented in 86f575948c77 by recursing in trigger.c, but that's the wrong place; use ATSimpleRecursion instead, which behaves properly. However, because legacy

pgsql: Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion

2020-10-20 Thread Alvaro Herrera
Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion More precisely, correctly handle the ONLY flag indicating not to recurse. This was implemented in 86f575948c77 by recursing in trigger.c, but that's the wrong place; use ATSimpleRecursion instead, which behaves properly. However, because legacy