Re: AW: Possible feature?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: Possible feature?
Следующее
От: Mark Volpe
Дата:
Сообщение: Re: Postgresql bulk fast loader