pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Simplify parse representation of savepoint commands
Date: Fri, 16 Mar 2018 17:28:05 +0000
Message-ID: <E1ewt9B-0003tF-GJ@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ewt9B-0003tF-GJ@gemulon.postgresql.org>
Permalink:  ../E1ewt9B-0003tF-GJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ewt9B-0003tF-GJ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Simplify parse representation of savepoint commands
  In-Reply-To: <E1ewt9B-0003tF-GJ@gemulon.postgresql.org>
  References: <E1ewt9B-0003tF-GJ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox