Re: problem with NOTICE: _outNode: don't know how to print type

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ari Jolma <ajolma@water.hut.fi>
Cc: Martijn van Oosterhout <kleptog@cupid.suninternet.com>, pgsql-general@postgresql.org
Date: 2000-05-25T22:49:03Z
Lists: 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