| От | Hannu Krosing |
|---|---|
| Тема | Re: AW: Possible feature? |
| Дата | |
| Msg-id | 3B4C4D93.AA4F8936@tm.ee обсуждение исходный текст |
| Ответ на | AW: Possible feature? (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>) |
| Список | pgsql-hackers |
Zeugswetter Andreas SB wrote: > > On the other hand, what hinders you from using a "speaking" name for the > constraint ? > > postgres=# create table aa (id int, constraint "for Social Security number" unique (id)); > NOTICE: CREATE TABLE/UNIQUE will create implicit index 'for Social Security number' for table 'aa' > CREATE > postgres=# insert into aa values (1); > INSERT 23741 1 > postgres=# insert into aa values (1); > ERROR: Cannot insert a duplicate key into unique index for Social Security number I might want the message to be in some other language ... I might even want the language to depend on CURRENT_USER. ------------- Hannu
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера