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

From Tom Lane
Subject Re: Backend-internal SPI operations
Date
Msg-id 2959.967567745@sss.pgh.pa.us
Whole thread Raw
In response to Re: Backend-internal SPI operations  ("Mark Hollomon" <mhh@nortelnetworks.com>)
Responses Re: Backend-internal SPI operations
List pgsql-hackers
"Mark Hollomon" <mhh@nortelnetworks.com> writes:
> Just out of curiousity, is there technical reason there isn't
> a (say) relisview attribute to pg_class?

That might indeed be the most reasonable way to attack it, rather
than having to go messing about looking for a matching rule.
(Jan, any thoughts here?)

Adding a column to a core system table like pg_class is a good
exercise for the student ;-) ... it's not exactly automated,
and you have to find all the places that need to be updated.
You might want to keep notes and prepare a writeup for the
developer's FAQ.  I thought of that the last time I did something
similar, but it was only at the end that I realized I should've
been keeping notes to start with.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Mark Hollomon"
Date:
Subject: Re: Backend-internal SPI operations
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: when does CREATE VIEW not create a view?