pgsql: Simplify parse representation of savepoint commands

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Simplify parse representation of savepoint commands
Дата
Msg-id E1ewt9B-0003tF-GJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Mop-up for letting VOID-returning SQL functions end with aSELEC
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: explicitly point out that enum values can't be dropped.