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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Clean up ecpg's use of mmerror(): const-ify the format argument,
Date
Msg-id 20090603202451.CEABD75331E@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix tsquerysel() to not fail on an empty TSQuery.
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Wording improvement for recent sesssion identifier SQL query.