Re: ECPG failure on BF member Vaquita (Windows Vista)
От | Andrew Dunstan |
---|---|
Тема | Re: ECPG failure on BF member Vaquita (Windows Vista) |
Дата | |
Msg-id | 462FB28A.4060201@dunslane.net обсуждение исходный текст |
Ответ на | Re: ECPG failure on BF member Vaquita (Windows Vista) (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: ECPG failure on BF member Vaquita (Windows Vista)
|
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: