pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: chained transactions
Date: Wed, 26 Dec 2018 09:32:56 -0300
Message-ID: <20181226123256.yew55jvrjbkcwk2x@alvherre.pgsql> (raw)
In-Reply-To: <alpine.DEB.2.21.1812260824270.32444@lancre>

On 2018-Dec-26, Fabien COELHO wrote:

> > > Copying & comparing nodes are updated. Should making, outing and reading
> > > nodes also be updated?
> > 
> > TransactionStmt isn't covered by the node serialization functions, so I
> > didn't see anything to update.  What did you have in mind?
> 
> Sigh. I had in mind that the serialization feature would work with all
> possible nodes, not just some of them… which seems quite naïve. The whole
> make/copy/cmp/in/out functions depress me, all this verbose code should be
> automatically generated from struct declarations. I'm pretty sure there are
> hidden bugs in there.

There may well be, but keep in mind that the nodes that have out and
read support are used in view declarations and such (stored rules); they
are used pretty extensively.  Nodes that cannot be part of stored rules
don't need to have read support.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (28+ messages)  latest in thread

Message-ID: <20181226123256.yew55jvrjbkcwk2x@alvherre.pgsql>
Permalink:  ../20181226123256.yew55jvrjbkcwk2x@alvherre.pgsql/
Also on:    postgresql.org/message-id/20181226123256.yew55jvrjbkcwk2x@alvherre.pgsql

 · 

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-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, coelho@cri.ensmp.fr, peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, hlinnaka@iki.fi
  Subject: Re: chained transactions
  In-Reply-To: <20181226123256.yew55jvrjbkcwk2x@alvherre.pgsql>
  References: <alpine.DEB.2.21.1812260824270.32444@lancre> <20181226123256.yew55jvrjbkcwk2x@alvherre.pgsql>

* 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