Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc

Lists: pgsql-hackers
From: "Rocco Altier" <RoccoA(at)Routescape(dot)com>
To: "Andrew Dunstan" <adunstan(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc happy on cube test.
Date: 2006-07-27 19:48:20
Message-ID: 6E0907A94904D94B99D7F387E08C4F5701534E34@FALCON.INSIGHT
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I think this will cause breakage for other people.

Right now I think the order is unique to AIX for some reason.

Recent buildfarm run of gazelle should have matched the -0 variant
(cube_1.out), but did not.

Also, what is worrisome is that there is an ORDER BY on the result set
that is failing on AIX, so I think there might be a deeper problem
lurking here.

Thanks,
-rocco

> -----Original Message-----
> From: pgsql-committers-owner(at)postgresql(dot)org
> [mailto:pgsql-committers-owner(at)postgresql(dot)org] On Behalf Of
> Andrew Dunstan
> Sent: Thursday, July 27, 2006 2:39 PM
> To: pgsql-committers(at)postgresql(dot)org
> Subject: [COMMITTERS] pgsql: another try at keeping AIX/ppc
> happy on cube test.
>
>
> Log Message:
> -----------
> another try at keeping AIX/ppc happy on cube test.
>
> Modified Files:
> --------------
> pgsql/contrib/cube/expected:
> cube_1.out (r1.4 -> r1.5)
>
> (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube
/expected/cube_1.out.diff?r1=1.4&r2=1.5)

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Rocco Altier <RoccoA(at)Routescape(dot)com>
Cc: Andrew Dunstan <adunstan(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc
Date: 2006-07-27 20:02:18
Message-ID: 44C91BCA.7010708@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Indeed. I am going to revert it.

The trouble is we currently have several orthogonal variations, which is
a worry on its own:

. negative zero
. exponent format, and
. result ordering

Looking closer, the result ordering certainly does seem odd, as you say.
Surely with ORDER BY it should be deterministic. What is the rule that
describes the expected ordering of cube objects?

cheers

andrew

Rocco Altier wrote:

>I think this will cause breakage for other people.
>
>Right now I think the order is unique to AIX for some reason.
>
>Recent buildfarm run of gazelle should have matched the -0 variant
>(cube_1.out), but did not.
>
>Also, what is worrisome is that there is an ORDER BY on the result set
>that is failing on AIX, so I think there might be a deeper problem
>lurking here.
>
>Thanks,
> -rocco
>
>
>
>>-----Original Message-----
>>From: pgsql-committers-owner(at)postgresql(dot)org
>>[mailto:pgsql-committers-owner(at)postgresql(dot)org] On Behalf Of
>>Andrew Dunstan
>>Sent: Thursday, July 27, 2006 2:39 PM
>>To: pgsql-committers(at)postgresql(dot)org
>>Subject: [COMMITTERS] pgsql: another try at keeping AIX/ppc
>>happy on cube test.
>>
>>
>>Log Message:
>>-----------
>>another try at keeping AIX/ppc happy on cube test.
>>
>>Modified Files:
>>--------------
>> pgsql/contrib/cube/expected:
>> cube_1.out (r1.4 -> r1.5)
>>
>>(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube
>>
>>
>/expected/cube_1.out.diff?r1=1.4&r2=1.5)
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: don't forget to increase your free space map settings
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>


From: Joshua Reich <josh(at)root(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Rocco Altier <RoccoA(at)Routescape(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc
Date: 2006-07-27 20:16:16
Message-ID: 44C91F10.8010802@root.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I just updated to the latest HEAD, so I assume I have the cube_1.out
that you changed. If you look at the order of the results expected in
cube.out and cube_1.out, they are different. So I don't think we have a
problem with the code, we just need to fix the ordering in cube_1.out.

The same problem appears in cube_2.out -- is this used by any platform?

Josh

Andrew Dunstan wrote:
>
> Indeed. I am going to revert it.
>
> The trouble is we currently have several orthogonal variations, which is
> a worry on its own:
>
> . negative zero
> . exponent format, and
> . result ordering
>
> Looking closer, the result ordering certainly does seem odd, as you say.
> Surely with ORDER BY it should be deterministic. What is the rule that
> describes the expected ordering of cube objects?
>
> cheers
>
> andrew
>
>
> Rocco Altier wrote:
>
>> I think this will cause breakage for other people.
>>
>> Right now I think the order is unique to AIX for some reason.
>>
>> Recent buildfarm run of gazelle should have matched the -0 variant
>> (cube_1.out), but did not.
>>
>> Also, what is worrisome is that there is an ORDER BY on the result set
>> that is failing on AIX, so I think there might be a deeper problem
>> lurking here.
>>
>> Thanks,
>> -rocco
>>
>>
>>
>>> -----Original Message-----
>>> From: pgsql-committers-owner(at)postgresql(dot)org
>>> [mailto:pgsql-committers-owner(at)postgresql(dot)org] On Behalf Of Andrew
>>> Dunstan
>>> Sent: Thursday, July 27, 2006 2:39 PM
>>> To: pgsql-committers(at)postgresql(dot)org
>>> Subject: [COMMITTERS] pgsql: another try at keeping AIX/ppc happy on
>>> cube test.
>>>
>>>
>>> Log Message:
>>> -----------
>>> another try at keeping AIX/ppc happy on cube test.
>>>
>>> Modified Files:
>>> --------------
>>> pgsql/contrib/cube/expected:
>>> cube_1.out (r1.4 -> r1.5)
>>> (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/cube
>>>
>> /expected/cube_1.out.diff?r1=1.4&r2=1.5)
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 5: don't forget to increase your free space map settings
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 1: if posting/reading through Usenet, please send an appropriate
>> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>> message can get through to the mailing list cleanly
>>
>>
>>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq

--
Joshua Reich
Finance and Corporate Development
ROOT Exchange, A Division of ROOT Markets
601 W. 26th St. / Suite 1500
New York, NY 10001
W - (212) 645 6320 x 7101
M / T - (646) 427 7959
E - josh(at)rootexchange(dot)com


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Joshua Reich <josh(at)root(dot)net>
Cc: Rocco Altier <RoccoA(at)Routescape(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc
Date: 2006-07-27 20:53:44
Message-ID: 44C927D8.8010502@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joshua Reich wrote:

> I just updated to the latest HEAD, so I assume I have the cube_1.out
> that you changed. If you look at the order of the results expected in
> cube.out and cube_1.out, they are different. So I don't think we have
> a problem with the code, we just need to fix the ordering in cube_1.out.
>

The version where I reverted the change is 1.6.

There is apparently a code problem somehow, since we know that AIX/PPC
at least orders things differently on those 2 tests.

I have looked at the new code and can't see any obvious reason for
ordering differences.

Maybe we need to try to stress test the comparison routines a bit to
make sure they really are deterministic.

> The same problem appears in cube_2.out -- is this used by any platform?
>
>

We will deal with that one in due course.

cheers

andrew


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Joshua Reich <josh(at)root(dot)net>, Rocco Altier <RoccoA(at)Routescape(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc
Date: 2006-07-27 21:47:40
Message-ID: 12632.1154036860@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Maybe we need to try to stress test the comparison routines a bit to
> make sure they really are deterministic.

Eyeball inspection shows that cube_cmp is wrong: it's doing
PG_RETURN_INT16 where it should say PG_RETURN_INT32.

As best I can tell, the committed expected file is actually wrong.
I'm going to patch both cube.out and cube_1.out to match what I
get after fixing the function, and we'll see where that takes us.

I notice that cube_2.out hasn't been updated. Was that intentional?

regards, tom lane


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joshua Reich <josh(at)root(dot)net>, Rocco Altier <RoccoA(at)Routescape(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc
Date: 2006-07-27 22:13:45
Message-ID: 44C93A99.9070000@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>> Maybe we need to try to stress test the comparison routines a bit to
>> make sure they really are deterministic.
>>
>
> Eyeball inspection shows that cube_cmp is wrong: it's doing
> PG_RETURN_INT16 where it should say PG_RETURN_INT32.
>

ouch, good catch!

> As best I can tell, the committed expected file is actually wrong.
> I'm going to patch both cube.out and cube_1.out to match what I
> get after fixing the function, and we'll see where that takes us.
>
> I notice that cube_2.out hasn't been updated. Was that intentional?
>

Well, I was going to wait to see a buildfarm member that needed the
alternative exponent representation, and use the regression diff as a
template

cheers

andrew


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Joshua Reich <josh(at)root(dot)net>, Rocco Altier <RoccoA(at)Routescape(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: another try at keeping AIX/ppc
Date: 2006-07-27 22:26:54
Message-ID: 13695.1154039214@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Tom Lane wrote:
>> I notice that cube_2.out hasn't been updated. Was that intentional?

> Well, I was going to wait to see a buildfarm member that needed the
> alternative exponent representation, and use the regression diff as a
> template

I've had pretty good success with updating expected files for platforms
I can't test by using patch to apply the same update to them as I have
for the version I can test. That works unless the diff itself contains
platform dependencies. We'll soon find out whether that's true for this
particular case ...

regards, tom lane