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

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: problem with NOTICE: _outNode: don't know how to print type
Дата
Msg-id 392E744E.612B1B09@cupid.suninternet.com
обсуждение исходный текст
Ответ на problem with NOTICE: _outNode: don't know how to print type  (Ari Jolma <ajolma@water.hut.fi>)
Список 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 по дате отправления:

Предыдущее
От: Bill Barnes
Дата:
Сообщение: Windoze port of version 7
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: What distribution?