Re: [HACKERS] Rule plan size for views? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Rule plan size for views?
Date
Msg-id 199803021705.MAA03001@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Rule plan size for views?  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
>
> > > Sounds like the plan internally grew (possible w/subselect stuff?!?) and
> > > has gone over that 8k limit.
> >
> >     I think it must be due to the cleanups in the node-print and
> >     read funcs. They now output/read ALL fields in the nodes.
>
> Oh, I didn't realize that the print functions were actually used for something
> other than printing and debugging. I had started to add a few new nodes when I
> was trying to debug the "primary key" code.
>
> Should we go through and bracket some of those with #ifdef QUERYDEBUG or
> something like that? Where are they actually used? Should we try to keep these
> at a minimum for production compiles of the system??

Did you add stuff to dump that wasn't dumped before, or were they fields
of existing structure that used to be skipped?

They are used for the rewrite system and for views.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Last minute reminders (hope they're not too late...)
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Rule plan size for views?