Re: ECPGset_var

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ECPGset_var
Дата
Msg-id 15297.1264526975@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ECPGset_var  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: ECPGset_var  (Boszormenyi Zoltan <zb@cybertec.at>)
Список pgsql-hackers
Boszormenyi Zoltan <zb@cybertec.at> writes:
> Michael Meskes írta:
>> Zoltan, could you please look into this:
>> http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=dugong&dt=2010-01-26%2011:05:01 ?
>> Apparently dugong creates the ECPGset_var statements in a different order than
>> the other archs.

> It seems mongoose also fails the same way,
> the common factor seems to be ICC, other machines
> with various GCC versions are green . I'll look into it.

The problem is you've got calls like this:
               $$ = cat_str(4,                            adjust_outofscope_cursor_vars(this, true),
       adjust_outofscope_cursor_vars(this, false),                            make_str("ECPG_informix_reset_sqlca();"),
                          comment);
 

in which the order of evaluation of cat_str's parameters is unspecified,
but adjust_outofscope_cursor_vars has got order-dependent side effects.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Erik Rijkers"
Дата:
Сообщение: testing cvs HEAD - HS/SR - missing file
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Review: listagg aggregate