Tom Lane wrote:
>
> Hmm, and I don't have to look far to find a smoking gun:
>
> #if defined(__GNUC__) && (defined (__powerpc__) || defined(__amd64__) || defined(__x86_64__))
> if (create_statement(lineno, compat, force_indicator, con, &stmt, query, args) == false)
> #else
> if (create_statement(lineno, compat, force_indicator, con, &stmt, query, &args) == false)
> #endif
>
>
>
I also see:
#if defined(__GNUC__) && (defined (__powerpc__) || defined(__amd64__) ||
defined(__x86_64__))
#define APREF ap
#else
#define APREF *ap
#endif
But I also see that my amd64/FC6 machine does pass these tests with gcc.
I would certainly be nice if we could simplify all this. And if not, we
should have a note about why it's needed.
cheers
andrew