Re: Strange bug
От | Leif B. Kristensen |
---|---|
Тема | Re: Strange bug |
Дата | |
Msg-id | 200511291552.53024.leif@solumslekt.org обсуждение исходный текст |
Ответ на | Re: Strange bug (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Strange bug
|
Список | pgsql-sql |
On Tuesday 29 November 2005 15:37, Tom Lane wrote: >relation_citations doesn't have a primary key. See >http://www.postgresql.org/docs/8.1/static/ddl-inherit.html >particularly the "caveats" section. Uh-oh. That's my first 'gotcha' in PostgreSQL. I added the following constraints: ALTER TABLE relation_citations ADD CONSTRAINT unique_relation_citation_id UNIQUE (citation_id); ALTER TABLE event_citations ADD CONSTRAINT unique_event_citation_id UNIQUE (citation_id); And I hope that will be sufficient. -- Leif Biberg Kristensen | Registered Linux User #338009 http://solumslekt.org/ | Cruising with Gentoo/KDE
В списке pgsql-sql по дате отправления: