Unix Technical Forum

Re: regression failure on latest CVS

This is a discussion on Re: regression failure on latest CVS within the pgsql Hackers forums, part of the PostgreSQL category; --> On Jul 25 2005, ohp@pyrenet.fr wrote: > Hi Larry, > > I'm quitge sure you'll see a problem if ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 04:59 AM
Larry Rosenman
 
Posts: n/a
Default Re: regression failure on latest CVS

On Jul 25 2005, ohp@pyrenet.fr wrote:

> Hi Larry,
>
> I'm quitge sure you'll see a problem if you remove --enable-debug
> --enable-cassert from your ./configure


Do we have a clue as to which .c module the compiler/optimizer is (possibly)
screwing up?

I have connections in SCO's compiler group....

(They'll want a small test case )

LER


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 04:59 AM
ohp@pyrenet.fr
 
Posts: n/a
Default Re: regression failure on latest CVS

On Mon, 25 Jul 2005, Larry Rosenman wrote:

> Date: 25 Jul 2005 12:47:01 -0500
> From: Larry Rosenman <ler@lerctr.org>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] regression failure on latest CVS
>
> On Jul 25 2005, ohp@pyrenet.fr wrote:
>
> > Hi Larry,
> >
> > I'm quitge sure you'll see a problem if you remove --enable-debug
> > --enable-cassert from your ./configure

>
> Do we have a clue as to which .c module the compiler/optimizer is (possibly)
> screwing up?
>

According to Bruce, it's in timestamp.c
Did you get the same problem?
> I have connections in SCO's compiler group....
>
> (They'll want a small test case )
>
> LER
>
>
>


--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 05:00 AM
Larry Rosenman
 
Posts: n/a
Default Re: regression failure on latest CVS

ohp@pyrenet.fr wrote:
> On Mon, 25 Jul 2005, Larry Rosenman wrote:
>
>> Date: 25 Jul 2005 12:47:01 -0500
>> From: Larry Rosenman <ler@lerctr.org>
>> To: ohp@pyrenet.fr
>> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
>> Subject: Re: [HACKERS] regression failure on latest CVS
>>
>> On Jul 25 2005, ohp@pyrenet.fr wrote:
>>
>>> Hi Larry,
>>>
>>> I'm quitge sure you'll see a problem if you remove --enable-debug
>>> --enable-cassert from your ./configure

>>



For those following along at home:

Removing --enable-cassert and --enable-debug from the options causes
Firefly to fail.

I'm forcing a run with --enable-cassert only, to see what happens (per
request from SCO).

I've saved off the first failure to send to SCO.



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611 US


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-11-2008, 05:00 AM
Andrew Dunstan
 
Posts: n/a
Default Re: regression failure on latest CVS



Larry Rosenman wrote:

>ohp@pyrenet.fr wrote:
>
>
>>On Mon, 25 Jul 2005, Larry Rosenman wrote:
>>
>>
>>
>>>Date: 25 Jul 2005 12:47:01 -0500
>>>From: Larry Rosenman <ler@lerctr.org>
>>>To: ohp@pyrenet.fr
>>>Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
>>>Subject: Re: [HACKERS] regression failure on latest CVS
>>>
>>>On Jul 25 2005, ohp@pyrenet.fr wrote:
>>>
>>>
>>>
>>>>Hi Larry,
>>>>
>>>>I'm quitge sure you'll see a problem if you remove --enable-debug
>>>>--enable-cassert from your ./configure
>>>>
>>>>

>
>
>For those following along at home:
>
>Removing --enable-cassert and --enable-debug from the options causes
>Firefly to fail.
>
>I'm forcing a run with --enable-cassert only, to see what happens (per
>request from SCO).
>
>I've saved off the first failure to send to SCO.
>
>
>


I assume that in the SCO compiler turning debugging on turns
optimisation off? If so, that would at least make some kind of sense
(i.e. this would a case of bad optimisation).

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-11-2008, 05:00 AM
Larry Rosenman
 
Posts: n/a
Default Re: regression failure on latest CVS

Larry Rosenman wrote:
> ohp@pyrenet.fr wrote:
>> On Mon, 25 Jul 2005, Larry Rosenman wrote:
>>
>>> Date: 25 Jul 2005 12:47:01 -0500
>>> From: Larry Rosenman <ler@lerctr.org>
>>> To: ohp@pyrenet.fr
>>> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
>>> Subject: Re: [HACKERS] regression failure on latest CVS
>>>
>>> On Jul 25 2005, ohp@pyrenet.fr wrote:
>>>
>>>> Hi Larry,
>>>>
>>>> I'm quitge sure you'll see a problem if you remove --enable-debug
>>>> --enable-cassert from your ./configure
>>>

>
>
> For those following along at home:
>
> Removing --enable-cassert and --enable-debug from the options causes
> Firefly to fail.
>
> I'm forcing a run with --enable-cassert only, to see what happens
> (per request from SCO).
>
> I've saved off the first failure to send to SCO.


Just --enable-cassert fails as well. SCO also asked if 8.0-STABLE also has
issues. Running
That test now.

LER


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611 US


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-11-2008, 05:00 AM
Tom Lane
 
Posts: n/a
Default Re: regression failure on latest CVS

"Larry Rosenman" <ler@lerctr.org> writes:
> For those following along at home:


> Removing --enable-cassert and --enable-debug from the options causes
> Firefly to fail.


FWIW, I just checked that CVS tip works OK for me without these options,
with either integer or float timestamps. I don't see any new warnings,
either. It could well be that the recent changes have introduced some
portability problem in the interval code, but someone's going to have to
actually dig for it :-(

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-11-2008, 05:00 AM
Larry Rosenman
 
Posts: n/a
Default Re: regression failure on latest CVS

Tom Lane wrote:
> "Larry Rosenman" <ler@lerctr.org> writes:
>> For those following along at home:

>
>> Removing --enable-cassert and --enable-debug from the options causes
>> Firefly to fail.

>
> FWIW, I just checked that CVS tip works OK for me without these
> options, with either integer or float timestamps. I don't see any
> new warnings, either. It could well be that the recent changes have
> introduced some portability problem in the interval code, but
> someone's going to have to actually dig for it :-(
>
> regards, tom lane


Thanks, Tom. I've reported my findings to the compiler
Guys at SCO. We'll see what they say tomorrow.

LER


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611 US


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-11-2008, 05:00 AM
ohp@pyrenet.fr
 
Posts: n/a
Default Re: regression failure on latest CVS

On Mon, 25 Jul 2005, Tom Lane wrote:

> Date: Mon, 25 Jul 2005 23:26:20 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: Larry Rosenman <ler@lerctr.org>
> Cc: ohp@pyrenet.fr, 'pgsql-hackers list' <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] regression failure on latest CVS
>
> "Larry Rosenman" <ler@lerctr.org> writes:
> > For those following along at home:

>
> > Removing --enable-cassert and --enable-debug from the options causes
> > Firefly to fail.

>
> FWIW, I just checked that CVS tip works OK for me without these options,
> with either integer or float timestamps. I don't see any new warnings,
> either.
> It could well be that the recent changes have introduced some
> portability problem in the interval code, but someone's going to have to
> actually dig for it :-(
>

That's my feeling but I have no clue where to start.
I know this was introduced at the end of last week.

> regards, tom lane
>
>


--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com