Re: deleting a foreign key that has no references

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: deleting a foreign key that has no references
Дата
Msg-id 13751.1174323188@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: deleting a foreign key that has no references  ("Glen W. Mabey" <Glen.Mabey@swri.org>)
Ответы Insert fail: could not open relation with OID 3221204992
Список pgsql-general
"Glen W. Mabey" <Glen.Mabey@swri.org> writes:
> What I'm hoping to find out is whether there is some way to directly
> find out how many (using a SELECT query) references there are to a key.

There's no hidden shortcut for that, no.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: deleting a foreign key that has no references
Следующее
От: "Jaroslav Záruba"
Дата:
Сообщение: DBD:Pg for Windows (PostgreSQL+Perl)