Use RangeVarGetRelidExtended() in AlterSequence()
Peter Eisentraut <peter_e@gmx.net>
Use RangeVarGetRelidExtended() in AlterSequence() This allows us to combine the opening and the ownership check. Reported-by: Robert Haas <robertmhaas@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/sequence.c | modified | +7 −9 |
| src/test/regress/expected/sequence.out | modified | +2 −2 |
| src/test/regress/sql/sequence.sql | modified | +1 −1 |