What is the difference of these two kinds of foreign key defination?

Поиск
Список
Период
Сортировка
От sheepjxx
Тема What is the difference of these two kinds of foreign key defination?
Дата
Msg-id 37a11ce00909240748j4d9d8e4j5108e2fbbeb96e0f@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
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),
);

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Understanding 'could not read block'
Следующее
От: Cédric Villemain
Дата:
Сообщение: Re: Looking for way to replicate master db to multiple mobile databases