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: Implement PREPARE AS statement for ECPG.
Date: Wed, 22 May 2019 03:08:37 +0000
Message-ID: <E1hTHcL-0002lq-6K@gemulon.postgresql.org> (raw)

Implement PREPARE AS statement for ECPG.

Besides implementing the new statement this change fix some issues with the
parsing of PREPARE and EXECUTE statements. The different forms of these
statements are now all handled in a ujnified way.

Author: Matsumura-san <matsumura.ryo@jp.fujitsu.com>

Branch
------
master

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

Modified Files
--------------
src/interfaces/ecpg/ecpglib/ecpglib_extern.h       |   1 +
src/interfaces/ecpg/ecpglib/execute.c              |  82 ++-
src/interfaces/ecpg/ecpglib/prepare.c              |  54 ++
src/interfaces/ecpg/include/ecpgtype.h             |   4 +-
src/interfaces/ecpg/preproc/check_rules.pl         |   7 +-
src/interfaces/ecpg/preproc/ecpg.addons            |  66 +-
src/interfaces/ecpg/preproc/ecpg.header            |   1 +
src/interfaces/ecpg/preproc/output.c               |  24 +-
src/interfaces/ecpg/preproc/parse.pl               |   9 +-
src/interfaces/ecpg/preproc/type.h                 |   6 +
src/interfaces/ecpg/test/ecpg_schedule             |   1 +
src/interfaces/ecpg/test/expected/sql-prepareas.c  | 664 +++++++++++++++++++++
.../ecpg/test/expected/sql-prepareas.stderr        |   0
.../ecpg/test/expected/sql-prepareas.stdout        |  66 ++
src/interfaces/ecpg/test/sql/Makefile              |   3 +-
src/interfaces/ecpg/test/sql/prepareas.pgc         | 198 ++++++
16 files changed, 1163 insertions(+), 23 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1hTHcL-0002lq-6K@gemulon.postgresql.org>
Permalink:  ../E1hTHcL-0002lq-6K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hTHcL-0002lq-6K@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: Implement PREPARE AS statement for ECPG.
  In-Reply-To: <E1hTHcL-0002lq-6K@gemulon.postgresql.org>
  References: <E1hTHcL-0002lq-6K@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