pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add DECLARE STATEMENT command to ECPG
Date: Wed, 24 Mar 2021 20:09:38 +0000
Message-ID: <E1lP9ow-0000Vj-Bb@gemulon.postgresql.org> (raw)

Add DECLARE STATEMENT command to ECPG

This command declares a SQL identifier for a SQL statement to be used in other
embedded SQL statements. The identifier is linked to a connection.

Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Shawn Wang <shawn.wang.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/TY2PR01MB24438A52DB04E71D0E501452F5630@TY2PR01MB2443.jpnp...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad8305a43d1890768a613d3fb586b44f17360f29

Modified Files
--------------
doc/src/sgml/ecpg.sgml                             | 140 ++++-
src/interfaces/ecpg/preproc/ecpg.addons            |  90 +++-
src/interfaces/ecpg/preproc/ecpg.c                 |   9 +
src/interfaces/ecpg/preproc/ecpg.header            |  25 +
src/interfaces/ecpg/preproc/ecpg.trailer           |  45 +-
src/interfaces/ecpg/preproc/ecpg.type              |   1 +
src/interfaces/ecpg/preproc/preproc_extern.h       |   1 +
src/interfaces/ecpg/preproc/type.h                 |   7 +
src/interfaces/ecpg/test/ecpg_schedule             |   1 +
src/interfaces/ecpg/test/expected/sql-declare.c    | 580 +++++++++++++++++++++
.../ecpg/test/expected/sql-declare.stderr          | 286 ++++++++++
.../ecpg/test/expected/sql-declare.stdout          |  20 +
src/interfaces/ecpg/test/sql/.gitignore            |   2 +
src/interfaces/ecpg/test/sql/Makefile              |   1 +
src/interfaces/ecpg/test/sql/declare.pgc           | 207 ++++++++
15 files changed, 1398 insertions(+), 17 deletions(-)



Message-ID: <E1lP9ow-0000Vj-Bb@gemulon.postgresql.org>
Permalink:  ../E1lP9ow-0000Vj-Bb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lP9ow-0000Vj-Bb@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: meskes@postgresql.org
  Subject: Re: pgsql: Add DECLARE STATEMENT command to ECPG
  In-Reply-To: <E1lP9ow-0000Vj-Bb@gemulon.postgresql.org>
  References: <E1lP9ow-0000Vj-Bb@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