pgsql: Let compiler handle size calculation of bool types.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Let compiler handle size calculation of bool types.
Date: 2015-09-19 09:17:14
Message-ID: E1ZdEGg-0004CL-Dt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Let compiler handle size calculation of bool types.

Back in the day this did not work, but modern compilers should handle it themselves.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/44297a058ea05cd78b33612ce303f3caec11e3ab

Modified Files
--------------
src/interfaces/ecpg/ecpglib/data.c | 18 ++----------------
src/interfaces/ecpg/ecpglib/execute.c | 13 ++-----------
2 files changed, 4 insertions(+), 27 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-09-20 20:49:14 pgsql: Be more wary about partially-valid LOCALLOCK data in RemoveLocal
Previous Message Peter Eisentraut 2015-09-19 02:46:07 pgsql: Add missing serial comma