pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix incorrect results for numeric data passed through an ECPG SQ 6+ messages / 1 participants [nested] [flat]
* pgsql: Fix incorrect results for numeric data passed through an ECPG SQ @ 2018-11-13 20:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-11-13 20:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix incorrect results for numeric data passed through an ECPG SQLDA. Numeric values with leading zeroes were incorrectly copied into a SQLDA (SQL Descriptor Area), leading to wrong results in ECPG programs. Report and patch by Daisuke Higuchi. Back-patch to all supported versions. Discussion: https://postgr.es/m/1803D792815FC24D871C00D17AE95905C71161@g01jpexmbkw24 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ecfd5579561c3e720e696a42aadcd4b5b52aa581 Modified Files -------------- src/interfaces/ecpg/ecpglib/sqlda.c | 34 +- src/interfaces/ecpg/test/expected/sql-sqlda.c | 108 ++--- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 436 +++++++++++++-------- src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 28 ++ src/interfaces/ecpg/test/sql/sqlda.pgc | 4 +- 5 files changed, 380 insertions(+), 230 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix incorrect results for numeric data passed through an ECPG SQ @ 2018-11-13 20:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-11-13 20:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix incorrect results for numeric data passed through an ECPG SQLDA. Numeric values with leading zeroes were incorrectly copied into a SQLDA (SQL Descriptor Area), leading to wrong results in ECPG programs. Report and patch by Daisuke Higuchi. Back-patch to all supported versions. Discussion: https://postgr.es/m/1803D792815FC24D871C00D17AE95905C71161@g01jpexmbkw24 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/68393f3fd6b91f1f61a2bdb4e59eb439256eeb65 Modified Files -------------- src/interfaces/ecpg/ecpglib/sqlda.c | 34 +- src/interfaces/ecpg/test/expected/sql-sqlda.c | 108 ++--- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 436 +++++++++++++-------- src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 28 ++ src/interfaces/ecpg/test/sql/sqlda.pgc | 4 +- 5 files changed, 380 insertions(+), 230 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix incorrect results for numeric data passed through an ECPG SQ @ 2018-11-13 20:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-11-13 20:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix incorrect results for numeric data passed through an ECPG SQLDA. Numeric values with leading zeroes were incorrectly copied into a SQLDA (SQL Descriptor Area), leading to wrong results in ECPG programs. Report and patch by Daisuke Higuchi. Back-patch to all supported versions. Discussion: https://postgr.es/m/1803D792815FC24D871C00D17AE95905C71161@g01jpexmbkw24 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/32060f6780bc09595a12cea8c992493af3785a2a Modified Files -------------- src/interfaces/ecpg/ecpglib/sqlda.c | 34 +- src/interfaces/ecpg/test/expected/sql-sqlda.c | 108 ++--- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 436 +++++++++++++-------- src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 28 ++ src/interfaces/ecpg/test/sql/sqlda.pgc | 4 +- 5 files changed, 380 insertions(+), 230 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix incorrect results for numeric data passed through an ECPG SQ @ 2018-11-13 20:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-11-13 20:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix incorrect results for numeric data passed through an ECPG SQLDA. Numeric values with leading zeroes were incorrectly copied into a SQLDA (SQL Descriptor Area), leading to wrong results in ECPG programs. Report and patch by Daisuke Higuchi. Back-patch to all supported versions. Discussion: https://postgr.es/m/1803D792815FC24D871C00D17AE95905C71161@g01jpexmbkw24 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e1f25901268cd07095329ce2e705df1de244f913 Modified Files -------------- src/interfaces/ecpg/ecpglib/sqlda.c | 34 +- src/interfaces/ecpg/test/expected/sql-sqlda.c | 108 ++--- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 436 +++++++++++++-------- src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 28 ++ src/interfaces/ecpg/test/sql/sqlda.pgc | 4 +- 5 files changed, 380 insertions(+), 230 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix incorrect results for numeric data passed through an ECPG SQ @ 2018-11-13 20:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-11-13 20:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix incorrect results for numeric data passed through an ECPG SQLDA. Numeric values with leading zeroes were incorrectly copied into a SQLDA (SQL Descriptor Area), leading to wrong results in ECPG programs. Report and patch by Daisuke Higuchi. Back-patch to all supported versions. Discussion: https://postgr.es/m/1803D792815FC24D871C00D17AE95905C71161@g01jpexmbkw24 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/be38945c6e661cb1d14a3295f4c7608a169f56f3 Modified Files -------------- src/interfaces/ecpg/ecpglib/sqlda.c | 34 +- src/interfaces/ecpg/test/expected/sql-sqlda.c | 108 ++--- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 436 +++++++++++++-------- src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 28 ++ src/interfaces/ecpg/test/sql/sqlda.pgc | 4 +- 5 files changed, 380 insertions(+), 230 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix incorrect results for numeric data passed through an ECPG SQ @ 2018-11-13 20:46 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-11-13 20:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix incorrect results for numeric data passed through an ECPG SQLDA. Numeric values with leading zeroes were incorrectly copied into a SQLDA (SQL Descriptor Area), leading to wrong results in ECPG programs. Report and patch by Daisuke Higuchi. Back-patch to all supported versions. Discussion: https://postgr.es/m/1803D792815FC24D871C00D17AE95905C71161@g01jpexmbkw24 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9e5e3861c78299c0c44c3fc5b635efc2853f1faf Modified Files -------------- src/interfaces/ecpg/ecpglib/sqlda.c | 34 +- src/interfaces/ecpg/test/expected/sql-sqlda.c | 108 ++--- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 436 +++++++++++++-------- src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 28 ++ src/interfaces/ecpg/test/sql/sqlda.pgc | 4 +- 5 files changed, 380 insertions(+), 230 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2018-11-13 20:46 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-11-13 20:46 pgsql: Fix incorrect results for numeric data passed through an ECPG SQ Tom Lane <tgl@sss.pgh.pa.us> 2018-11-13 20:46 pgsql: Fix incorrect results for numeric data passed through an ECPG SQ Tom Lane <tgl@sss.pgh.pa.us> 2018-11-13 20:46 pgsql: Fix incorrect results for numeric data passed through an ECPG SQ Tom Lane <tgl@sss.pgh.pa.us> 2018-11-13 20:46 pgsql: Fix incorrect results for numeric data passed through an ECPG SQ Tom Lane <tgl@sss.pgh.pa.us> 2018-11-13 20:46 pgsql: Fix incorrect results for numeric data passed through an ECPG SQ Tom Lane <tgl@sss.pgh.pa.us> 2018-11-13 20:46 pgsql: Fix incorrect results for numeric data passed through an ECPG SQ Tom Lane <tgl@sss.pgh.pa.us>
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