aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogarchive.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-06-14 23:22:14 -0400
committerPeter Eisentraut <peter_e@gmx.net>2018-09-26 20:20:59 +0200
commit992f8542a370d6885fc19e79e0fc46a1ebf902cb (patch)
tree47d4ec2ecc800fa3aa9cd7541ae508a098a6576e /src/backend/access/transam/xlogarchive.c
parent69a5686368c9c5609fdb274714b39f7ded1b0b46 (diff)
downloadpostgresql-992f8542a370d6885fc19e79e0fc46a1ebf902cb.tar.gz
postgresql-992f8542a370d6885fc19e79e0fc46a1ebf902cb.zip
Recurse to sequences on ownership change for all relkinds
When a table ownership is changed, we must apply that also to any owned sequences. (Otherwise, it would result in a situation that cannot be restored, because linked sequences must have the same owner as the table.) But this was previously only applied to regular tables and materialized views. But it should also apply to at least foreign tables. This patch removes the relkind check altogether, because it doesn't save very much and just introduces the possibility of similar omissions. Bug: #15238 Reported-by: Christoph Berg <christoph.berg@credativ.de>
Diffstat (limited to 'src/backend/access/transam/xlogarchive.c')
0 files changed, 0 insertions, 0 deletions