]> granicus.if.org Git - postgresql/commit
Split ecpg_execute() in constituent parts
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 16 Jan 2014 21:06:50 +0000 (18:06 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 16 Jan 2014 21:06:50 +0000 (18:06 -0300)
commit61bee9f756ce875f3b678099a6bb9654bd2fa21a
tree8550316ea8120d5f0480c966d5f85954345a33ee
parent515d2c596c1b6b95d020d14edaab0d233d5d9ea9
Split ecpg_execute() in constituent parts

Split the rather long ecpg_execute() function into ecpg_build_params(),
ecpg_autostart_transaction(), a smaller ecpg_execute() and
ecpg_process_output().  There is no user-visible change here, only code
reorganization to support future patches.

Author: Zoltán Böszörményi

Reviewed by Antonin Houska.  Larger, older versions of this patch were
reviewed by Noah Misch and Michael Meskes.
42 files changed:
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/extern.h
src/interfaces/ecpg/test/expected/compat_informix-describe.stderr
src/interfaces/ecpg/test/expected/compat_informix-rnull.stderr
src/interfaces/ecpg/test/expected/compat_informix-sqlda.stderr
src/interfaces/ecpg/test/expected/compat_informix-test_informix.stderr
src/interfaces/ecpg/test/expected/compat_informix-test_informix2.stderr
src/interfaces/ecpg/test/expected/connect-test2.stderr
src/interfaces/ecpg/test/expected/connect-test3.stderr
src/interfaces/ecpg/test/expected/connect-test5.stderr
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.stderr
src/interfaces/ecpg/test/expected/pgtypeslib-num_test.stderr
src/interfaces/ecpg/test/expected/preproc-array_of_struct.stderr
src/interfaces/ecpg/test/expected/preproc-autoprep.stderr
src/interfaces/ecpg/test/expected/preproc-cursor.stderr
src/interfaces/ecpg/test/expected/preproc-define.stderr
src/interfaces/ecpg/test/expected/preproc-outofscope.stderr
src/interfaces/ecpg/test/expected/preproc-strings.stderr
src/interfaces/ecpg/test/expected/preproc-type.stderr
src/interfaces/ecpg/test/expected/preproc-variable.stderr
src/interfaces/ecpg/test/expected/preproc-whenever.stderr
src/interfaces/ecpg/test/expected/sql-array.stderr
src/interfaces/ecpg/test/expected/sql-binary.stderr
src/interfaces/ecpg/test/expected/sql-code100.stderr
src/interfaces/ecpg/test/expected/sql-copystdout.stderr
src/interfaces/ecpg/test/expected/sql-define.stderr
src/interfaces/ecpg/test/expected/sql-desc.stderr
src/interfaces/ecpg/test/expected/sql-describe.stderr
src/interfaces/ecpg/test/expected/sql-dynalloc.stderr
src/interfaces/ecpg/test/expected/sql-dynalloc2.stderr
src/interfaces/ecpg/test/expected/sql-dyntest.stderr
src/interfaces/ecpg/test/expected/sql-execute.stderr
src/interfaces/ecpg/test/expected/sql-fetch.stderr
src/interfaces/ecpg/test/expected/sql-func.stderr
src/interfaces/ecpg/test/expected/sql-indicators.stderr
src/interfaces/ecpg/test/expected/sql-insupd.stderr
src/interfaces/ecpg/test/expected/sql-oldexec.stderr
src/interfaces/ecpg/test/expected/sql-parser.stderr
src/interfaces/ecpg/test/expected/sql-quote.stderr
src/interfaces/ecpg/test/expected/sql-show.stderr
src/interfaces/ecpg/test/expected/sql-sqlda.stderr