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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b46d9beb658af7eb4e2a08dfa34206a117c9654f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-19T14:59:20Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/bin/psql/psqlscan.h modified +5 −0