Add missing format attributes
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 10 Sep 2011 20:12:46 +0000 (23:12 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 10 Sep 2011 20:12:46 +0000 (23:12 +0300)
commit52ce20589a8bac4eccaea043b1fe283daaf4f9e3
tree2e3bdabd95a1db624ec982f5cd4634a7f540c858
parent96a8aed4cb66b9a23e5b566ad549cd0c5eac5a74
Add missing format attributes

Add __attribute__ decorations for printf format checking to the places that
were missing them.  Fix the resulting warnings.  Add
-Wmissing-format-attribute to the standard set of warnings for GCC, so these
don't happen again.

The warning fixes here are relatively harmless.  The one serious problem
discovered by this was already committed earlier in
cf15fb5cabfbc71e07be23cfbc813daee6c5014f.
13 files changed:
configure
configure.in
contrib/pg_upgrade/info.c
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/relfilenode.c
contrib/pgcrypto/px.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_tar.c
src/include/lib/stringinfo.h
src/interfaces/ecpg/ecpglib/descriptor.c
src/interfaces/ecpg/ecpglib/error.c
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/extern.h