Skip site navigation (1) Skip section navigation (2)

pgsql: Add __attribute__((format_arg(1))) to the declaration of

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add __attribute__((format_arg(1))) to the declaration of
Date: 2009-06-25 23:07:16
Message-ID: 20090625230716.8A91F75331E@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Add __attribute__((format_arg(1))) to the declaration of err_gettext(),
to restore gcc's ability to crosscheck format arguments within elog.c.
Noted in a test compilation with -Wformat-nonliteral enabled.

Modified Files:
--------------
    pgsql/src/backend/utils/error:
        elog.c (r1.215 -> r1.216)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.215&r2=1.216)

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2009-06-25 23:11:07
Subject: press - pr: Update dateline
Previous:From: Heikki LinnakangasDate: 2009-06-25 21:36:01
Subject: pgsql: Fix some serious bugs in archive recovery, now that bgwriter is

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group