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

Re: [PORTS] Re: [HACKERS] RedHat6.0 & Alpha

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Uncle George <gatgul(at)voicenet(dot)com>, Jan Wieck <wieck(at)debis(dot)com>, pgsql-hackers(at)postgreSQL(dot)org, pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Re: [HACKERS] RedHat6.0 & Alpha
Date: 1999-09-23 22:01:33
Message-ID: 199909232201.SAA26559@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-ports
This seems to be the detail on the bug report.


> Uncle George <gatgul(at)voicenet(dot)com> writes:
> > In the regression test rules.sql there is this SQL command
> >         update rtest_v1 set a = rtest_t3.a + 20 where b = rtest_t3.b;
> > Which causes my alpha port to go core.
> 
> Yeah.  This was reported by Pedro Lobo on 11 June, and we've been
> patiently waiting for Jan to decide what to do about it :-(
> 
> You could stop the coredump by putting a test into ResolveNew:
> 
>                     {
>                         *nodePtr = copyObject(n);
> +                       if (IsA(*nodePtr, Var))
>                             ((Var *) *nodePtr)->varlevelsup = this_varlevelsup;
>                     }
> 
> but what's not so clear is what's supposed to happen when the
> replacement item *isn't* a Var.  I tried to convince myself that nothing
> needed to happen in that case, but wasn't successful.  (Presumably the
> replacement expression contains no instances of the variable being
> replaced, so recursing into it with ResolveNew shouldn't be needed
> --- but maybe its varlevelsup values need adjusted?)
> 
> 			regards, tom lane
> 
> 


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-ports by date

Next:From: Bruce MomjianDate: 1999-09-23 22:04:28
Subject: Re: [PORTS] Port Bug Report: connection to the backend is lost while using a rule
Previous:From: Bruce MomjianDate: 1999-09-23 22:01:09
Subject: Re: [PORTS] RedHat6.0 & Alpha

pgsql-hackers by date

Next:From: Lamar OwenDate: 1999-09-23 22:39:06
Subject: Re: [PORTS] RedHat6.0 & Alpha
Previous:From: Bruce MomjianDate: 1999-09-23 22:01:09
Subject: Re: [PORTS] RedHat6.0 & Alpha

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