Re: Lookup Primary Key of Foreign Server's Table

Поиск
Список
Период
Сортировка
От Chris Morris
Тема Re: Lookup Primary Key of Foreign Server's Table
Дата
Msg-id CALrUc2Uw3-3fg3HpSe8Mpx9BL7me_YZhQ3LD-W1BdFZFfn+RZQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Lookup Primary Key of Foreign Server's Table  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Lookup Primary Key of Foreign Server's Table  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
The foreign table has a primary key. Ruby on Rails uses a system query to lookup what the primary key on the table is, but it's querying the local database, and not finding anything. In a schema dump of the local database, I don't see a primary key defined, so I'm presuming I need to issue an ADD CONSTRAINT command against the foreign table to reflect what is actually true in the foreign table? Is that correct?


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

Предыдущее
От: Ravi Krishna
Дата:
Сообщение: Is this a bug ?
Следующее
От: Ron
Дата:
Сообщение: Re: Is this a bug ?