aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-22 14:22:39 +0900
committerMichael Paquier <michael@paquier.xyz>2018-08-22 14:22:39 +0900
commit4ed59e02f5aa97618bb33355dc3accbcc2d5ace1 (patch)
tree19dddf4f8f09bfacfe08d9717cbd7541c3ce2d88 /src/backend/access/gist/gistvalidate.c
parent561a5ab7514cd38fa7433d2214ce308481b10044 (diff)
downloadpostgresql-4ed59e02f5aa97618bb33355dc3accbcc2d5ace1.tar.gz
postgresql-4ed59e02f5aa97618bb33355dc3accbcc2d5ace1.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