AW: Backend-internal SPI operations - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: Backend-internal SPI operations
Date
Msg-id 11C1E6749A55D411A9670001FA687963368061@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> Tom Lane wrote:
> > 
> > Mark's patch is OK as is, since it's merely relocating some poorly
> > written code and not trying to fix it, but someone ought to think
> > about fixing the code.
> > 
> 
> I'll take a crack at it.
> 
> Just out of curiousity, is there technical reason there isn't
> a (say) relisview attribute to pg_class?

I have been arguing ages for a different relkind for real views
that are created with "create view ...". This would obliviate the
actual file that is currently needed for each view too.

Imho that would be a better solution than an additional flag.

Andreas 


pgsql-hackers by date:

Previous
From: Jules Bean
Date:
Subject: Re: Performance on inserts
Next
From: Jan Wieck
Date:
Subject: Re: More about "CREATE TABLE" from inside a function/trigger...