Re: PostgreSQL equivalent of the Oracale 'unique' qualifier
В списке pgsql-general по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: PostgreSQL equivalent of the Oracale 'unique' qualifier |
| Дата | |
| Msg-id | 200611201401.48080.aklaver@comcast.net обсуждение |
| Ответ на | PostgreSQL equivalent of the Oracale 'unique' qualifier ("Wm.A.Stafford" <stafford@marine.rutgers.edu>) |
| Список | pgsql-general |
On Monday 20 November 2006 12:13 pm, Wm.A.Stafford wrote: > I hope the subject says it all. I'm porting an Oracle-centric > application to PostgreSQL and the Oracle sql is full of the 'unique' > qualifier. I'm assuming PostgreSQL does not support 'unique' since > don't see a 'unique' anywhere in the PostgreSQL docs. Is there a > substitute or a technique to get the same result? > > Thanks, > -=bill stafford > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster Two places I found to specify a unique constraint. http://www.postgresql.org/docs/8.1/interactive/sql-createtable.html http://www.postgresql.org/docs/8.1/interactive/sql-createindex.htm -- Adrian Klaver aklaver@comcast.net
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера