]> granicus.if.org Git - postgresql/commit
Change error handling of out of scope variables in ecpg.
authorMichael Meskes <meskes@postgresql.org>
Wed, 30 Jan 2019 12:58:25 +0000 (13:58 +0100)
committerMichael Meskes <meskes@postgresql.org>
Wed, 30 Jan 2019 13:35:52 +0000 (14:35 +0100)
commit7ea38f045dad6bbb7fbe807f2486df7370bc0b0f
tree4245ff47ee0353ac7cdaddeaae171e1af79c1565
parente2f731cdba9b7a79cddc64325990a8f51818877b
Change error handling of out of scope variables in ecpg.

The function called can result in an out of memory error that subsequently was
disregarded. Instead it should set the appropriate SQL error variables and be
checked by whatever whenever statement is defined.
src/interfaces/ecpg/ecpglib/misc.c
src/interfaces/ecpg/preproc/ecpg.addons
src/interfaces/ecpg/preproc/ecpg.trailer
src/interfaces/ecpg/preproc/output.c
src/interfaces/ecpg/preproc/preproc_extern.h
src/interfaces/ecpg/test/expected/compat_informix-sqlda.c
src/interfaces/ecpg/test/expected/compat_informix-test_informix.c
src/interfaces/ecpg/test/expected/preproc-cursor.c
src/interfaces/ecpg/test/expected/preproc-outofscope.c
src/interfaces/ecpg/test/expected/sql-binary.c