Re: Getting FK relationships from information_schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Getting FK relationships from information_schema
Дата
Msg-id 20685.1086849134@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Getting FK relationships from information_schema  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> We have discussed changing the default names of FK constraints
>> before. I have no problem with doing something like the above --- any
>> objection out there?

> I think it's a good idea.  It will also make the error messages of the 
> kind "foreign key $1 violated" a bit clearer by default.

Right ho --- I'm working on a patch that will choose default names
of the form table_column_checkN and table_column_fkeyN, similar to
what we already do for index constraints.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Schema + User-Defined Data Type Indexing problems...
Следующее
От: Martin Schäfer
Дата:
Сообщение: Find out whether a view's column is indexed?