pgsql: Expose more out/readfuncs support functions.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Expose more out/readfuncs support functions.
Date: 2016-04-08 21:27:56
Message-ID: E1aodwa-0007pp-BS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Expose more out/readfuncs support functions.

Previously bcac23d exposed a subset of support functions, namely the
ones Kaigai found useful. In
20160304193704(dot)elq773pyg5fyl3mi(at)alap3(dot)anarazel(dot)de I mentioned that
there's some functions missing to use the facility in an external
project.

To avoid having to add functions piecemeal, add all the functions which
are used to define READ_* and WRITE_* macros; users of the extensible
node functionality are likely to need these. Additionally expose
outDatum(), which doesn't have it's own WRITE_ macro, as it needs
information from the embedding struct.

Discussion: 20160304193704(dot)elq773pyg5fyl3mi(at)alap3(dot)anarazel(dot)de

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c1ddd2361f6eb071d51b856c697a4aab22f8c776

Modified Files
--------------
src/backend/nodes/outfuncs.c | 22 ++++++++++------------
src/backend/nodes/readfuncs.c | 16 +++++-----------
src/include/nodes/nodes.h | 8 ++++++++
3 files changed, 23 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-04-08 21:48:50 Re: Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees.
Previous Message Stephen Frost 2016-04-08 20:56:34 pgsql: Create default roles