pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Add DECLARE STATEMENT support to ECPG."
Date: Fri, 20 Sep 2019 16:47:54 +0000
Message-ID: <E1iBM4Y-0000CW-Rr@gemulon.postgresql.org> (raw)

Revert "Add DECLARE STATEMENT support to ECPG."

This reverts commit bd7c95f0c1a38becffceb3ea7234d57167f6d4bf,
along with assorted follow-on fixes.  There are some questions
about the definition and implementation of that statement, and
we don't have time to resolve them before v13 release.  Rather
than ship the feature and then have backwards-compatibility
concerns constraining any redesign, let's remove it for now
and try again later.

Discussion: https://postgr.es/m/TY2PR01MB2443EC8286995378AEB7D9F8F5B10@TY2PR01MB2443.jpnprd01.prod.outlook.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08e04a5f99d50285edf8e89a18da67ce2d75d676

Modified Files
--------------
doc/src/sgml/ecpg.sgml                             | 196 +------
src/interfaces/ecpg/ecpglib/Makefile               |   2 +-
src/interfaces/ecpg/ecpglib/connect.c              |   6 -
src/interfaces/ecpg/ecpglib/cursor.c               | 261 ---------
src/interfaces/ecpg/ecpglib/descriptor.c           |  15 +-
src/interfaces/ecpg/ecpglib/ecpglib_extern.h       |  21 -
src/interfaces/ecpg/ecpglib/error.c                |   7 -
src/interfaces/ecpg/ecpglib/execute.c              |  25 +-
src/interfaces/ecpg/ecpglib/exports.txt            |   4 -
src/interfaces/ecpg/ecpglib/prepare.c              | 266 +--------
src/interfaces/ecpg/include/ecpgerrno.h            |   1 -
src/interfaces/ecpg/include/ecpglib.h              |   4 -
src/interfaces/ecpg/include/ecpgtype.h             |   7 -
src/interfaces/ecpg/preproc/ecpg.addons            |  77 +--
src/interfaces/ecpg/preproc/ecpg.c                 |  86 +--
src/interfaces/ecpg/preproc/ecpg.header            |   1 -
src/interfaces/ecpg/preproc/ecpg.trailer           |  34 --
src/interfaces/ecpg/preproc/ecpg.type              |   1 -
src/interfaces/ecpg/preproc/output.c               | 157 +-----
src/interfaces/ecpg/preproc/preproc_extern.h       |   3 -
src/interfaces/ecpg/preproc/type.h                 |   8 -
src/interfaces/ecpg/test/ecpg_schedule             |   1 -
.../ecpg/test/expected/compat_informix-sqlda.c     |  12 +-
.../test/expected/compat_informix-test_informix.c  |   4 +-
.../ecpg/test/expected/compat_oracle-char_array.c  |   6 +-
.../ecpg/test/expected/pgtypeslib-nan_test.c       |  18 +-
.../ecpg/test/expected/preproc-autoprep.c          |  12 +-
src/interfaces/ecpg/test/expected/preproc-cursor.c |  76 +--
.../ecpg/test/expected/preproc-outofscope.c        |   6 +-
.../ecpg/test/expected/preproc-variable.c          |   6 +-
.../test/expected/preproc-whenever_do_continue.c   |   6 +-
src/interfaces/ecpg/test/expected/sql-binary.c     |  18 +-
src/interfaces/ecpg/test/expected/sql-declare.c    | 595 ---------------------
.../ecpg/test/expected/sql-declare.stderr          | 288 ----------
.../ecpg/test/expected/sql-declare.stdout          |  20 -
src/interfaces/ecpg/test/expected/sql-desc.c       |  12 +-
src/interfaces/ecpg/test/expected/sql-dyntest.c    |   6 +-
src/interfaces/ecpg/test/expected/sql-execute.c    |  12 +-
src/interfaces/ecpg/test/expected/sql-fetch.c      |  16 +-
src/interfaces/ecpg/test/expected/sql-oldexec.c    |  12 +-
src/interfaces/ecpg/test/expected/sql-quote.c      |   4 +-
src/interfaces/ecpg/test/expected/sql-sqlda.c      |  12 +-
src/interfaces/ecpg/test/sql/.gitignore            |   2 -
src/interfaces/ecpg/test/sql/Makefile              |   1 -
src/interfaces/ecpg/test/sql/declare.pgc           | 207 -------
45 files changed, 173 insertions(+), 2361 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1iBM4Y-0000CW-Rr@gemulon.postgresql.org>
Permalink:  ../E1iBM4Y-0000CW-Rr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iBM4Y-0000CW-Rr@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Revert "Add DECLARE STATEMENT support to ECPG."
  In-Reply-To: <E1iBM4Y-0000CW-Rr@gemulon.postgresql.org>
  References: <E1iBM4Y-0000CW-Rr@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