aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-22 14:21:49 +0900
committerMichael Paquier <michael@paquier.xyz>2018-08-22 14:21:49 +0900
commitb965f2617184032687037547204e1db1c1e1a56c (patch)
tree0f405d5b9c063209cac803c7b7731fe6d9e5f504 /src/backend/access/gist/gistvalidate.c
parent98abc738027e866f89b0ecf6f6a30b16e000e804 (diff)
downloadpostgresql-b965f2617184032687037547204e1db1c1e1a56c.tar.gz
postgresql-b965f2617184032687037547204e1db1c1e1a56c.zip
Do not dump identity sequences with excluded parent table
This commit prevents a crash of pg_dump caused by the exclusion of a table which has identity columns, as the table would be correctly excluded but not its identity sequence. In order to fix that, identity sequences are excluded if the parent table is defined as such. Knowing about such sequences has no meaning without their parent table anyway. Reported-by: Andy Abelisto Author: David Rowley Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/153479393218.1316.8472285660264976457@wrigleys.postgresql.org Backpatch-through: 10
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions