Re: Display of foreign keys in psql

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: Display of foreign keys in psql
Дата
Msg-id 37ed240d0906101508ve7276d4j751e7dc22d763c3e@mail.gmail.com
обсуждение исходный текст
Ответ на Display of foreign keys in psql  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
2009/6/11 Peter Eisentraut <peter_e@gmx.net>:
> Referenced by:
>  "test2_y_fkey" IN test2 FOREIGN KEY (y) REFERENCES test1(a)
>
> Is there a magic reason why the IN is capitalized?  (Maybe "from" would be
> better anyway?)

Isn't "on" the conventional preposition to use here?  I would think of
this as a foreign key "on" test2, referencing test1.

In the same way you would talk about having a primary key "on" a
table.  Same goes for indexes, triggers, table constraints, etc. IMO

Cheers,
BJ


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Display of foreign keys in psql
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Display of foreign keys in psql