]> granicus.if.org Git - postgresql/commit
Simplify parse representation of savepoint commands
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 17 Feb 2018 01:57:06 +0000 (20:57 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 16 Mar 2018 17:18:06 +0000 (13:18 -0400)
commitec87efde8dbc670467468860c5d577dc805dae5e
tree96991de8befe65fd9a1ddb007703646b5972cedb
parent04700b685f31508036456bea4d92533e5ceee9d6
Simplify parse representation of savepoint commands

Instead of embedding the savepoint name in a list and then requiring
complex code to unpack it, just add another struct field to store it
directly.

Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
src/backend/access/transam/xact.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/include/access/xact.h
src/include/nodes/parsenodes.h