Re: Backend-internal SPI operations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backend-internal SPI operations
Дата
Msg-id 2959.967567745@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Backend-internal SPI operations  ("Mark Hollomon" <mhh@nortelnetworks.com>)
Ответы Re: Backend-internal SPI operations  (Jan Wieck <janwieck@Yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: "Mark Hollomon"
Дата:
Сообщение: Re: Backend-internal SPI operations
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: when does CREATE VIEW not create a view?