Re: Add primary keys to system catalogs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Add primary keys to system catalogs
Дата
Msg-id 37c18f90-fd2a-993f-0527-1a06049ab8bb@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Add primary keys to system catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2021-01-18 18:23, Tom Lane wrote:
> The reason I got interested in this right now is the nearby
> discussion [1] about why findoidjoins misses some catalog
> relationships and whether we should fix that and/or make its results
> more readily accessible.  I'd thought perhaps FK constraint entries
> could supersede the need for that tool altogether, but now it seems
> like not.

Yes, catalog consistency checking was also something I had in mind. 
There are clearly a number of complications still to resolve.  But in 
general the idea of representing relationships between tables in the 
DDL/schema sounds like a sensible idea.

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Add primary keys to system catalogs
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: OpenSSL connection setup debug callback issue