Use RangeVarGetRelidExtended() in AlterSequence() This allows us to combine the opening and the ownership check.
Reported-by: Robert Haas <robertmh...@gmail.com> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/94da2a6a9a05776953524424a3d8079e54bc5d94 Modified Files -------------- src/backend/commands/sequence.c | 16 +++++++--------- src/test/regress/expected/sequence.out | 4 ++-- src/test/regress/sql/sequence.sql | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers