pgsql: Make CppAsString2() more visible in c.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make CppAsString2() more visible in c.h.
Date: 2017-03-10 00:19:37
Message-ID: E1cm8HR-0006Hd-5a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make CppAsString2() more visible in c.h.

For some reason this standard C string-processing hack was buried in an
NLS-related section of c.h. Put it beside CppAsString() so that people
are more likely to find it and not be tempted to reinvent local copies,
as I nearly did. And provide a more helpful comment, too.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9cfc4deeb9e6bd8162bd85dce5809d4d7aea2b66

Modified Files
--------------
src/include/c.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-03-10 00:40:56 pgsql: Add amcheck extension to contrib.
Previous Message Robert Haas 2017-03-09 23:20:47 pgsql: Throw an error if a DATA() line contains wrong # of attributes.