Thread: pgsql: Remove unportable assumption that it's okay to use the target

pgsql: Remove unportable assumption that it's okay to use the target

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Remove unportable assumption that it's okay to use the target buffer
of an sprintf() as a source string.  Demonstrably does not work with
recent gcc and/or glibc on some platforms.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.83 -> r1.84)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.83&r2=1.84)