Re: [HACKERS] v10beta pg_catalog diagrams

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] v10beta pg_catalog diagrams
Дата
Msg-id 49596d90-9a43-b3f6-180e-12b40a0962c9@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] v10beta pg_catalog diagrams  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] v10beta pg_catalog diagrams  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 6/13/17 17:08, Andres Freund wrote:
> I wondered before if we shouldn't introduce "information only"
> unenforced foreign key constraints for the catalogs.  We kind of
> manually do that via oidjoins, it'd be nicer if we'd a function
> rechecking fkeys, and the fkeys were in the catalog...

I don't see why we couldn't just add a full complement of primary and
foreign key constraints (and unique constraints and perhaps some check
constraints).  The argument is that they wouldn't normally do anything,
but they would help with documentation and browsing tools, and they
wouldn't hurt anything.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] A bug in mapping attributes in ATExecAttachPartition()
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] outfuncs.c utility statement support