Re: [HACKERS] Rule plan size for views?

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: lockhart@alumni.caltech.edu (Thomas G. Lockhart)
Cc: jwieck@debis.com, darrenk@insightdist.com, pgsql-hackers@postgresql.org
Date: 1998-03-03T05:58:38Z
Lists: pgsql-hackers
> 
> > I don't see any of these affecting the rewrite system.  They should
> > already have been in the code.  Were they not?
> 
> I recall adding code to print the nodes of a create index statement, and the nodes of a
> table create statement. I don't quite remember which other ones, but everything listed
> below is new since v6.2.1.

I think I added many of these to fixed rule problems.

> 
> > > > _outCreateStmt(StringInfo str, CreateStmt *node)
> > > >       _outNode(str, node->tableElts);
> > > >       _outNode(str, node->inhRelnames);
> > > >       _outNode(str, node->constraints);
> > > > _outIndexStmt(StringInfo str, IndexStmt *node)
> > > >       _outNode(str, node->indexParams);
> > > >       _outNode(str, node->withClause);
> > > >       _outNode(str, node->whereClause);
> > > >       _outNode(str, node->rangetable);


-- 
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)