]> granicus.if.org Git - postgresql/commit
Clean up ecpg's use of mmerror(): const-ify the format argument, add an
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jun 2009 20:24:51 +0000 (20:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jun 2009 20:24:51 +0000 (20:24 +0000)
commitb5c838e170e8fd138baf6938db472e448b200fed
tree0ca05f384ea61d4890534f5c18db14ad406f5f09
parenta734979e0a786276e3dc1d4755f025d664a4a4de
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().
src/interfaces/ecpg/preproc/ecpg.header
src/interfaces/ecpg/preproc/ecpg.trailer
src/interfaces/ecpg/preproc/extern.h