Re: RI Constraint display
От | Tom Lane |
---|---|
Тема | Re: RI Constraint display |
Дата | |
Msg-id | 27408.1041309618@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: RI Constraint display (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
Ответы |
Re: RI Constraint display
|
Список | pgsql-general |
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes: > On Sat, 28 Dec 2002, elein wrote: >> Almost all of the system generated names, sequences, triggers, etc, >> have constructed names. $n for constrain names seems like an anomaly. > I think it's been that way for check constraints for a long time unless I > remember incorrectly. I think you remember correctly. The "$n" convention is somewhat arbitrary, but in my mind it certainly beats the OID-based convention we have used for RI triggers. For one thing, if you issue the same table declaration twice, you'll get the same names associated with unnamed constraints... regards, tom lane
В списке pgsql-general по дате отправления: