From: | Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk> |
---|---|
To: | vadim(at)krs(dot)ru, emkxp01(at)mtcc(dot)demon(dot)co(dot)uk |
Cc: | hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] CURRENT: crash in select_view regression test... |
Date: | 1998-12-17 22:04:00 |
Message-ID: | 199812172204.WAA05533@mtcc.demon.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Appologies,
It looks like this was not the fix, as I'm still getting the
Bad node message....
Will continue investigating.
Keith.
Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk>
>
> Vadim Mikheev <vadim(at)krs(dot)ru>
> >
> > Keith Parks wrote:
> > >
> > > Vadim Mikheev <vadim(at)krs(dot)ru>
> > > >
> > > > ... in SELECT * FROM street;
> > > >
> > >
> > > No crash just:-
> > >
> > > regression=> select * from street;
> > > ERROR: nodeRead: Bad type 0
> > > regression=>
> >
> > It seems platform dependent...
> > Bugs are in readfuncs.c
> >
>
> I think I've found it, a simple typo in outfuncs.c.
>
> Looks like :vartypmod got transmuted to %vartypmod in an editing session.
>
> Here's the patch,
>
> Keith.
>
> *** src/backend/nodes/outfuncs.c.orig Thu Dec 17 12:01:02 1998
> --- src/backend/nodes/outfuncs.c Thu Dec 17 12:01:22 1998
> ***************
> *** 634,640 ****
> _outVar(StringInfo str, Var *node)
> {
> appendStringInfo(str,
> ! " VAR :varno %d :varattno %d :vartype %u %vartypmod %d ",
> node->varno,
> node->varattno,
> node->vartype,
> --- 634,640 ----
> _outVar(StringInfo str, Var *node)
> {
> appendStringInfo(str,
> ! " VAR :varno %d :varattno %d :vartype %u :vartypmod %d ",
> node->varno,
> node->varattno,
> node->vartype,
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 1998-12-17 22:44:42 | Re: [HACKERS] CVS log for a specific tag |
Previous Message | The Hermit Hacker | 1998-12-17 18:39:23 | Re: [HACKERS] Re: [PATCHES] Cobalt/Linux porting patch |