pgsql: Use RangeVarGetRelidExtended() in AlterSequence()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use RangeVarGetRelidExtended() in AlterSequence()
Date: 2017-06-16 16:15:20
Message-ID: E1dLtu4-0005MQ-4B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use RangeVarGetRelidExtended() in AlterSequence()

This allows us to combine the opening and the ownership check.

Reported-by: Robert Haas <robertmhaas(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-17 01:04:58 pgsql: doc: Add note that COPY commands are published as INSERTs
Previous Message Peter Eisentraut 2017-06-16 14:10:14 pgsql: Fix ICU collation use on Windows