]> granicus.if.org Git - postgresql/commit
Use RangeVarGetRelidExtended() in AlterSequence()
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 13 Jun 2017 18:58:17 +0000 (14:58 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 16 Jun 2017 14:24:50 +0000 (10:24 -0400)
commit94da2a6a9a05776953524424a3d8079e54bc5d94
tree348b53acd03dddebedbc1648c3094a9cb68c7eaa
parent41839b7abc85f21dd7ce76ab9cd1d7533c53cf9c
Use RangeVarGetRelidExtended() in AlterSequence()

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

Reported-by: Robert Haas <robertmhaas@gmail.com>
src/backend/commands/sequence.c
src/test/regress/expected/sequence.out
src/test/regress/sql/sequence.sql