pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix connection handling for DEALLOCATE and DESCRIBE statements
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix connection handling for DEALLOCATE and DESCRIBE statements
@ 2021-08-13 08:46  Michael Meskes <meskes@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Meskes @ 2021-08-13 08:46 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix connection handling for DEALLOCATE and DESCRIBE statements

After binding a statement to a connection with DECLARE STATEMENT the connection
was still not used for DEALLOCATE and DESCRIBE statements. This patch fixes
that, adds a missing warning and cleans up the code.

Author: Hayato Kuroda
Reviewed-by: Kyotaro Horiguchi, Michael Paquier
Discussion: https://postgr.es/m/TYAPR01MB5866BA57688DF2770E2F95C6F5069%40TYAPR01MB5866.jpnprd01.prod.outlook.com

Branch
------
REL_14_STABLE

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

Modified Files
--------------
src/interfaces/ecpg/preproc/descriptor.c           |  16 ++-
src/interfaces/ecpg/preproc/ecpg.addons            |   8 +-
src/interfaces/ecpg/preproc/ecpg.header            |  12 +-
src/interfaces/ecpg/preproc/ecpg.trailer           |  44 +++----
src/interfaces/ecpg/preproc/ecpg.type              |   3 +-
src/interfaces/ecpg/preproc/output.c               |   9 --
src/interfaces/ecpg/preproc/type.h                 |   6 +
src/interfaces/ecpg/test/expected/sql-declare.c    | 137 ++++++++++++++++++---
.../ecpg/test/expected/sql-declare.stderr          |  56 ++++++---
.../ecpg/test/expected/sql-declare.stdout          |   2 +
src/interfaces/ecpg/test/sql/declare.pgc           |  40 +++++-
11 files changed, 258 insertions(+), 75 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix connection handling for DEALLOCATE and DESCRIBE statements
@ 2021-08-13 08:46  Michael Meskes <meskes@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Meskes @ 2021-08-13 08:46 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix connection handling for DEALLOCATE and DESCRIBE statements

After binding a statement to a connection with DECLARE STATEMENT the connection
was still not used for DEALLOCATE and DESCRIBE statements. This patch fixes
that, adds a missing warning and cleans up the code.

Author: Hayato Kuroda
Reviewed-by: Kyotaro Horiguchi, Michael Paquier
Discussion: https://postgr.es/m/TYAPR01MB5866BA57688DF2770E2F95C6F5069%40TYAPR01MB5866.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/399edafa2aba562a8013fbe039f3cbf3a41a436e

Modified Files
--------------
src/interfaces/ecpg/preproc/descriptor.c           |  16 ++-
src/interfaces/ecpg/preproc/ecpg.addons            |   8 +-
src/interfaces/ecpg/preproc/ecpg.header            |  12 +-
src/interfaces/ecpg/preproc/ecpg.trailer           |  44 +++----
src/interfaces/ecpg/preproc/ecpg.type              |   3 +-
src/interfaces/ecpg/preproc/output.c               |   9 --
src/interfaces/ecpg/preproc/type.h                 |   6 +
src/interfaces/ecpg/test/expected/sql-declare.c    | 137 ++++++++++++++++++---
.../ecpg/test/expected/sql-declare.stderr          |  56 ++++++---
.../ecpg/test/expected/sql-declare.stdout          |   2 +
src/interfaces/ecpg/test/sql/declare.pgc           |  40 +++++-
11 files changed, 258 insertions(+), 75 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-08-13 08:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 08:46 pgsql: Fix connection handling for DEALLOCATE and DESCRIBE statements Michael Meskes <meskes@postgresql.org>
2021-08-13 08:46 pgsql: Fix connection handling for DEALLOCATE and DESCRIBE statements Michael Meskes <meskes@postgresql.org>

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