pgsql: Backpatch to 7.4 the part of 1.84 (from the 8.0 timeline) that - Mailing list pgsql-committers

From alvherre@postgresql.org (Alvaro Herrera)
Subject pgsql: Backpatch to 7.4 the part of 1.84 (from the 8.0 timeline) that
Date
Msg-id 20090113152842.727BA754877@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Backpatch to 7.4 the part of 1.84 (from the 8.0 timeline) that wasn't already
patched, viz. str_numth().  The rest of that patch was already applied as part
of 1.69.2.1.  Per report and patch from Andreas 'ads' Scherbaum.

The involved revisions were:

revision 1.84
date: 2005-01-12 22:40:13 -0300;  author: tgl;  state: Exp;  lines: +9 -7;
branches:  1.84.4;
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.

and

revision 1.69.2.1
date: 2005-03-25 20:42:21 -0400;  author: tgl;  state: Exp;  lines: +24 -8;
Prevent to_char(interval) from dumping core on month-related formats
when a zero-month interval is given.  Per discussion with Karel.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.69.2.2 -> r1.69.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.69.2.2&r2=1.69.2.3)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Throw an error when using -C and -1 at the same time in
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Remove useless (and insecure) temp file handling.