Re: What is the difference of foreign key?

Поиск
Список
Период
Сортировка
От Lew
Тема Re: What is the difference of foreign key?
Дата
Msg-id h9h277$lo9$1@news.albasani.net
обсуждение исходный текст
Ответ на What is the difference of foreign key?  (sheepjxx <sheepjxx@gmail.com>)
Список pgsql-general
sheepjxx wrote:
> To be precise,
>
> The difference between
>
> create table a (
>      foreign key (id) referenced by b(name),
> );
>
> create table b(
>       id  integer referenced by b(name),
> );

They're just two different forms of invalid SQL.  The difference between them
makes no difference.

--
Lew

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

Предыдущее
От: Grant Maxwell
Дата:
Сообщение: Re: Looking for way to replicate master db to multiple mobile databases
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] libpq port number handling