Re: [HACKERS] Re: NOTICE: _outNode: don't know how to print type 715 - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Re: NOTICE: _outNode: don't know how to print type 715
Date
Msg-id 36059195.7B186A4A@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Re: NOTICE: _outNode: don't know how to print type 715  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> >  PostgreSQL gives me a strange message when I try to create a table
> >  with a NOT NULL column.
> >  create table prova(
> >          campo1 INTEGER NOT NULL
> >          );
> >  NOTICE:  _outNode: don't know how to print type 715
> >  Does someone knows what this message means ?
> I retract my comment that this is a bug.  I can not reproduce this
> here.

You have compiled the parser subdirectory with -DPARSEDEBUG, which then
tries to print the parse tree. The nodes subdirectory must be compiled
with -DPARSEDEBUG to get extra nodes to be recognized by the printing
routine.

It could be something else, but I get a similar symptom when I do this.

It's my fault that those PARSEDEBUG blocks are in there in the first
place. But I didn't want these nodes which don't usually propagate past
the parser to be mixed in to normal backend nodes in the print routines.

                 - Tom

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] union regression test
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [sferac@bo.nettuno.it: Re: [HACKERS] BUG: NOT boolfield kills backend]