Re: proposal: add columns created and altered to pg_proc and pg_class

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: add columns created and altered to pg_proc and pg_class
Дата
Msg-id 24270.1239663969@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal: add columns created and altered to pg_proc and pg_class  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: proposal: add columns created and altered to pg_proc and pg_class  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> I would suggest putting this info in a separate table, pg_change.  It 
> would have oid, catalog, user_changed, changed_on.  That way we could 
> simply keep the data for all objects which have an OID.

That makes more sense to me --- it would easily extend to all cases
and would not impose any overhead (in the form of useless columns)
for catalogs that you didn't want to track in a particular case.

The main problem that would have to be considered is how to flush
no-longer-useful entries (which of course entails deciding which
those are).
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: proposal: add columns created and altered to pg_proc and pg_class
Следующее
От: Tom Lane
Дата:
Сообщение: Re: join ordering