Re: problem with NOTICE: _outNode: don't know how to print type - Mailing list pgsql-general

From Tom Lane
Subject Re: problem with NOTICE: _outNode: don't know how to print type
Date
Msg-id 473.959294943@sss.pgh.pa.us
Whole thread Raw
In response to Re: problem with NOTICE: _outNode: don't know how to print type  (Ari Jolma <ajolma@water.hut.fi>)
Responses PG 7.0 vacuum problem
List pgsql-general
Ari Jolma <ajolma@water.hut.fi> writes:
> It seems that there needs to be a union and a subselect.

Yes.

> And the really curious thing is that this problem seems
> to depend on which redhat version there is!

It was trying to interpret a pointer-to-character-string as
a pointer to a Node, so the results would be quite machine-
dependent.  This didn't have any effect on execution of the
query, only on display of the parsetree in the postmaster log;
but in the worst-case scenario you could see a coredump from
the printout routine following a nonaligned pointer or some such.

Fixed for 7.0.1.

            regards, tom lane

pgsql-general by date:

Previous
From: Herbert Liechti
Date:
Subject: Re: postgresql and perl?
Next
From: Tom Lane
Date:
Subject: Re: Limits on PostgreSQL