Skip to content
Snippets Groups Projects
Commit 14ce78e4 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

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: default avatarChristoph Berg <christoph.berg@credativ.de>
parent 6019247a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment