pgsql: Rename typedef "string" to "VarString".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename typedef "string" to "VarString".
Date: 2016-02-08 20:18:20
Message-ID: E1aSsGK-0000TX-1v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename typedef "string" to "VarString".

Since pgindent treats typedef names as global, the original coding of
b47b4dbf683f13e6 would have had rather nasty effects on the formatting
of other files in which "string" is used as a variable or field name.
Use a less generic name for this typedef, and rename some other
identifiers to match.

Peter Geoghegan, per gripe from me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/58e797216ff52c0656d3c343d0732a2530cafb71

Modified Files
--------------
src/backend/utils/adt/varlena.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-02-08 21:13:35 pgsql: Stamp 9.5.1.
Previous Message Peter Eisentraut 2016-02-08 19:59:42 pgsql: Translation updates