pgsql: Some cleanup in ecpg code: - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Some cleanup in ecpg code:
Date
Msg-id E1PDKRh-0006y5-BV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Some cleanup in ecpg code:

Use bool as type for booleans instead of int.
Do not implicitely cast size_t to int.
Make the compiler stop complaining about unused variables by adding an empty statement.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=35d5d962e1777560baf6f5edec906a907a853c9a

Modified Files
--------------
src/interfaces/ecpg/compatlib/informix.c |   13 +++++++++++--
src/interfaces/ecpg/ecpglib/connect.c    |    2 +-
src/interfaces/ecpg/ecpglib/extern.h     |    2 +-
src/interfaces/ecpg/ecpglib/memory.c     |    1 +
src/interfaces/ecpg/ecpglib/prepare.c    |   10 ++++++----
src/interfaces/ecpg/preproc/ecpg.c       |    8 ++++----
src/interfaces/ecpg/preproc/ecpg.trailer |    2 +-
src/interfaces/ecpg/preproc/extern.h     |   10 +++++-----
8 files changed, 30 insertions(+), 18 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Bootstrap WAL to begin at segment logid=0 logseg=1 (000000010000
Next
From: Tom Lane
Date:
Subject: pgsql: Ensure an index that uses a whole-row Var still depends on its t