Referential integrity on large objects

Поиск
Список
Период
Сортировка
От Marc Balmer
Тема Referential integrity on large objects
Дата
Msg-id etPan.58239f9e.327b23c6.1ae@msys.ch
обсуждение исходный текст
Список pgsql-hackers
I am looking for ways to ensure referential integrity on large objects. Something like having a column myoid in a table that holds an oid of a large object, and which throws an error when the referenced large object should be unlinked.  Like "myoid references pg_largeobject(loid)", which does not work right now, as foreign keys to catalogs are not supported.

Do you have any idea if this could be accomplished? Would it be complicated?  Could it be realised as a sponsored development?  If so, what would be the estimated effort/cost?

I'd be happy to get any hints at this.

- mb

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: proposal: psql \setfileref
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Bug in comparison of empty jsonb arrays to scalars