aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-01-02 17:04:24 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-01-02 17:04:24 -0300
commit1fa846f1c9afe6bb185d4bb60bed8102a8eacb8f (patch)
tree7dcfe215779d995aed3ead99af0b6d0b01cf8e5a /src/backend/access/gist
parent7c015045b9141cc30272930ea88cfa5df47240b7 (diff)
downloadpostgresql-1fa846f1c9afe6bb185d4bb60bed8102a8eacb8f.tar.gz
postgresql-1fa846f1c9afe6bb185d4bb60bed8102a8eacb8f.zip
Fix cloning of row triggers to sub-partitions
When row triggers exist in partitioned partitions that are not either part of FKs or deferred unique constraints, they are not correctly cloned to their partitions. That's because they are marked "internal", and those are purposefully skipped when doing the clone triggers dance. Fix by relaxing the condition on which internal triggers are skipped. Amit Langote initially diagnosed the problem and proposed a fix, but I used a different approach. Reported-by: Petr Fedorov Discussion: https://postgr.es/m/6b3f0646-ba8c-b3a9-c62d-1c6651a1920f@phystech.edu
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions