pgsql: Clean up ecpg's use of mmerror(): const-ify the format argument,

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up ecpg's use of mmerror(): const-ify the format argument,
Date: 2009-06-03 20:24:51
Message-ID: 20090603202451.CEABD75331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Clean up ecpg's use of mmerror(): const-ify the format argument, add an
__attribute__() marker so that gcc can validate the format string against
the actual arguments, get rid of overcomplicated and unsafe usage in
base_yyerror().

Modified Files:
--------------
pgsql/src/interfaces/ecpg/preproc:
ecpg.header (r1.5 -> r1.6)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/ecpg.header?r1=1.5&r2=1.6)
ecpg.trailer (r1.7 -> r1.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/ecpg.trailer?r1=1.7&r2=1.8)
extern.h (r1.71 -> r1.72)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/extern.h?r1=1.71&r2=1.72)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2009-06-03 20:34:29 pgsql: Wording improvement for recent sesssion identifier SQL query.
Previous Message Tom Lane 2009-06-03 18:42:13 pgsql: Fix tsquerysel() to not fail on an empty TSQuery.