| От | Scott Marlowe |
|---|---|
| Тема | Re: PostgreSQL equivalent of the Oracale 'unique' |
| Дата | |
| Msg-id | 1164064412.6040.495.camel@state.g2switchworks.com обсуждение исходный текст |
| Ответ на | PostgreSQL equivalent of the Oracale 'unique' qualifier ("Wm.A.Stafford" <stafford@marine.rutgers.edu>) |
| Список | pgsql-general |
On Mon, 2006-11-20 at 14:13, 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? Context is king. Do you mean: create unique index abc on table xyz(field1); ??? OR some other usage of unique. An example would really help us help you. otherwise we're all blind men describing an elephant (the postgresql elephant at that!) So, is it in an index, or somewhere else. Cause in an index it's fine. I've never used unique anywhere else in pgsql.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера