pgsql: With ancient gcc, skip pg_attribute_printf() on function pointer

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: With ancient gcc, skip pg_attribute_printf() on function pointer
Date: 2016-03-19 14:59:27
Message-ID: E1ahILf-0001kl-Ju@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

With ancient gcc, skip pg_attribute_printf() on function pointer.

Buildfarm results show that the ability to attach pg_attribute_printf
decoration to a function pointer appeared somewhere between gcc 2.95.3
and gcc 4.0.1. Guess that it was there in 4.0.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b46d9beb658af7eb4e2a08dfa34206a117c9654f

Modified Files
--------------
src/bin/psql/psqlscan.h | 5 +++++
1 file changed, 5 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-03-19 15:35:13 pgsql: pgbench: Allow changing weights for scripts
Previous Message Robert Haas 2016-03-19 13:38:38 Re: [COMMITTERS] pgsql: Improve memory management for external sorts.