REFERENCES in a field

Поиск
Список
Период
Сортировка
От Fernando M. Maresca
Тема REFERENCES in a field
Дата
Msg-id Pine.LNX.4.21.0010292028290.1389-100000@pichuco.lpqlp.com.ar
обсуждение исходный текст
Ответы Re: REFERENCES in a field  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-novice
Hi!
 When I try to insert a FOREIGN KEY in a field while I'm create a table
with psql in the form:

create table table (
field1 CHAR(10) PRIMARY KEY,
field2 CHAR(10) REFERENCES table0
);

psql returns an error that tells "FOREIGN KEYS not implemented yet".
I'm running Postgres version 6.5.3, which version supports foreign keys?

Thank you,
Fernando





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

Предыдущее
От: Radim Kolar
Дата:
Сообщение: There are only 4 bytes per OID
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: REFERENCES in a field