Re: Triggers on system tables

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: Triggers on system tables
Дата
Msg-id Pine.LNX.4.58.0402121601270.26608@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: Triggers on system tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Triggers on system tables  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Thu, 12 Feb 2004, Tom Lane wrote:

> Gavin Sherry <swm@linuxworld.com.au> writes:
> > Do you have an example at hand of a system function which will face this
> > problem so that I can see what is involved?
>
> Mmm ... try CREATE TABLE with foreign keys.  IIRC the basic table is
> created and then we do ALTER TABLE ADD FOREIGN KEY.

Ahh, of course. I misunderstood you. I was taking system 'function'
literally. CREATE TABLE by itself is bad enough. We do ALTER TABLE ADD
TOAST outside of DefineRelation().

Gavin


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Triggers on system tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SET WITHOUT OIDS and VACUUM badness?