pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
6+ messages / 1 participants
[nested] [flat]

* pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
@ 2015-12-01 16:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2015-12-01 16:43 UTC (permalink / raw)
  To: pgsql-committers

Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().

The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input.  Adopt the methodology
that's been in use in the equivalent backend code for a long time.

Per private report from Bas van Schaik.  Back-patch to all supported
branches.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/db4a5cfc76206db82d0b929d96c53de229ef1aa4

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c |    5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
@ 2015-12-01 16:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2015-12-01 16:43 UTC (permalink / raw)
  To: pgsql-committers

Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().

The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input.  Adopt the methodology
that's been in use in the equivalent backend code for a long time.

Per private report from Bas van Schaik.  Back-patch to all supported
branches.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c79bdc9904afefeee495455be7dea737d714fbb4

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c |    5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
@ 2015-12-01 16:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2015-12-01 16:43 UTC (permalink / raw)
  To: pgsql-committers

Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().

The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input.  Adopt the methodology
that's been in use in the equivalent backend code for a long time.

Per private report from Bas van Schaik.  Back-patch to all supported
branches.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/346cc2f0192791b5ee0fb5de4276d3cb8f5ab9a6

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c |    5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
@ 2015-12-01 16:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2015-12-01 16:43 UTC (permalink / raw)
  To: pgsql-committers

Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().

The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input.  Adopt the methodology
that's been in use in the equivalent backend code for a long time.

Per private report from Bas van Schaik.  Back-patch to all supported
branches.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3e6e98c5a8551e3b90bbc82d5bdad2f574a6f508

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c |    5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
@ 2015-12-01 16:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2015-12-01 16:43 UTC (permalink / raw)
  To: pgsql-committers

Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().

The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input.  Adopt the methodology
that's been in use in the equivalent backend code for a long time.

Per private report from Bas van Schaik.  Back-patch to all supported
branches.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/74cf6defa79c64ce8ac3548210686abc3e8695d1

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c |    5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().
@ 2015-12-01 16:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2015-12-01 16:43 UTC (permalink / raw)
  To: pgsql-committers

Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double().

The previous coding could overrun the provided buffer size for a very large
input, or lose precision for a very small input.  Adopt the methodology
that's been in use in the equivalent backend code for a long time.

Per private report from Bas van Schaik.  Back-patch to all supported
branches.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/84387496f47cac8a1a5f3566e493d270258847b7

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c |    5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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


end of thread, other threads:[~2015-12-01 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-12-01 16:43 pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double(). Tom Lane <tgl@sss.pgh.pa.us>
2015-12-01 16:43 pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double(). Tom Lane <tgl@sss.pgh.pa.us>
2015-12-01 16:43 pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double(). Tom Lane <tgl@sss.pgh.pa.us>
2015-12-01 16:43 pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double(). Tom Lane <tgl@sss.pgh.pa.us>
2015-12-01 16:43 pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double(). Tom Lane <tgl@sss.pgh.pa.us>
2015-12-01 16:43 pgsql: Use "g" not "f" format in ecpg's PGTYPESnumeric_from_double(). 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