Re: How to get schema name which violates fk constraint

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: How to get schema name which violates fk constraint
Дата
Msg-id 48FF6767.1090808@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: How to get schema name which violates fk constraint  ("George Pavlov" <gpavlov@mynewplace.com>)
Список pgsql-general
George Pavlov wrote:

> I
> suspect lack of complaints is largely due to the (small) number of
> people using namespaces -- the denominator should be users of the
> feature, not all users...

I certainly found it extremely frustrating that errors didn't reference
the involved schema when I was working on a database that used several
sets of tables with the same names and structure under different schema.
As it happens I ended up finding it to be much better to store all the
data in a single set of tables with composite primary keys, but there
are certainly situations where that won't be the case.

I can see, however, that it might be a pretty tedious thing to do and
not very high on anybody's fun-to-code list.

--
Craig Ringer

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ALTER/DROP table/view assymmetry
Следующее
От: Ma. Cristina Peña C.
Дата:
Сообщение: triggers problems whit function