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>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ec87efde8dbc670467468860c5d577dc805dae5e
Modified Files
--------------
src/backend/access/transam/xact.c | 28 ++--------------------------
src/backend/nodes/copyfuncs.c | 1 +
src/backend/nodes/equalfuncs.c | 1 +
src/backend/parser/gram.y | 15 +++++----------
src/backend/tcop/utility.c | 24 ++++--------------------
src/include/access/xact.h | 4 ++--
src/include/nodes/parsenodes.h | 3 ++-
7 files changed, 17 insertions(+), 59 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.