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

From Martijn van Oosterhout
Subject Re: problem with NOTICE: _outNode: don't know how to print type
Date
Msg-id 392E744E.612B1B09@cupid.suninternet.com
Whole thread Raw
In response to problem with NOTICE: _outNode: don't know how to print type  (Ari Jolma <ajolma@water.hut.fi>)
List pgsql-general
Joseph Shraibman wrote:
>
> Martijn van Oosterhout wrote:
> >
> > Ari Jolma wrote:
> > > template1=> select a from a union select a from a where a in (select a from
> > > a);
> > > NOTICE:  _outNode: don't know how to print type 1044119613
> > > NOTICE:  _outNode: don't know how to print type 1044119613
> > > a
> > > -
> > > (0 rows)
> >
> > Hmm, I may be missing something, but "select a from a" is not
> > a legal statement.
>
> Why not?
> playpen=> create table a ( a int ) ;
> CREATE
> playpen=> insert into a values(1);
> INSERT 28310 1
> playpen=> insert into a values(2);
> INSERT 28311 1
> playpen=> select a from a union select a from a where a in (select a
> from a);
> a
> -
> 1
> 2
> (2 rows)

Yikes! I didn't see that you had a field and a table with the same
name. Seems to me to be a bad combination. I answered
because the only time I've seen those obscure error messages was
when I accedently put a table name in the select part of a
SELECT query.....
--
Martijn van Oosterhout <kleptog@cupid.suninternet.com>
http://cupid.suninternet.com/~kleptog/

pgsql-general by date:

Previous
From: Bill Barnes
Date:
Subject: Windoze port of version 7
Next
From: Martijn van Oosterhout
Date:
Subject: Re: What distribution?