> 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