Skip site navigation (1) Skip section navigation (2)

Re: ECPGset_var

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPGset_var
Date: 2010-01-26 17:29:35
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
Boszormenyi Zoltan <zb(at)cybertec(dot)at> writes:
> Michael Meskes rta:
>> Zoltan, could you please look into this:
>> ?
>> 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),

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

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2010-01-26 17:36:13
Subject: Re: Review: listagg aggregate
Previous:From: Erik RijkersDate: 2010-01-26 17:19:17
Subject: testing cvs HEAD - HS/SR - missing file

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group