]> granicus.if.org Git - postgresql/commit
Implement PREPARE AS statement for ECPG.
authorMichael Meskes <meskes@postgresql.org>
Wed, 22 May 2019 02:58:29 +0000 (04:58 +0200)
committerMichael Meskes <meskes@postgresql.org>
Wed, 22 May 2019 02:58:29 +0000 (04:58 +0200)
commita1dc6ab465986a62b308dd1bb8da316b5ed9685a
treee7ca21165238a726731a69e7fb1e50e77c51263f
parent5af2e976d72aa345337596cc986237c57e1146b2
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>
16 files changed:
src/interfaces/ecpg/ecpglib/ecpglib_extern.h
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/prepare.c
src/interfaces/ecpg/include/ecpgtype.h
src/interfaces/ecpg/preproc/check_rules.pl
src/interfaces/ecpg/preproc/ecpg.addons
src/interfaces/ecpg/preproc/ecpg.header
src/interfaces/ecpg/preproc/output.c
src/interfaces/ecpg/preproc/parse.pl
src/interfaces/ecpg/preproc/type.h
src/interfaces/ecpg/test/ecpg_schedule
src/interfaces/ecpg/test/expected/sql-prepareas.c [new file with mode: 0644]
src/interfaces/ecpg/test/expected/sql-prepareas.stderr [new file with mode: 0644]
src/interfaces/ecpg/test/expected/sql-prepareas.stdout [new file with mode: 0644]
src/interfaces/ecpg/test/sql/Makefile
src/interfaces/ecpg/test/sql/prepareas.pgc [new file with mode: 0644]