Re: set constraints docs page

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: set constraints docs page
Дата
Msg-id 20030819082043.G65879-100000@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: set constraints docs page  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Tue, 19 Aug 2003, Peter Eisentraut wrote:

> Christopher Kings-Lynne writes:
>
> > > > It's a constraint name.  IIRC, it happens to affect all such named
> > > > constraints currently. We should probably allow <tablename>.<constraint>
> > > > (and <schema>.<tablename>.<constraint>) as well. Too late for 7.4, but
> > > > this can happen for 7.5 if there aren't any objections.
> > >
> > > I object.
> >
> > Thanks for the helpful objection.  To what do you object specifically and
> > why?
>
> I object to creating gratuitous incompatibilities with the SQL standard,
> which will obstruct legitimate features down the road.  The SQL standard
> says it is <schema>.<constraint>.

We *already* have the incompatibility with the SQL standard because of the
fact we allow non-unique constraint names in the same schema;
<schema>.<constraint> does not uniquely identify a constraint in
PostgreSQL currently.

Tom objected to following the spec on this regard back when the issue was
brought up for adding checks on the constraint names on the grounds that
table based constraint names were more natural.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: set constraints docs page
Следующее
От: Neil Conway
Дата:
Сообщение: Re: poorly written builtin functions