Re: \ escapes in check constraint strings?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: \ escapes in check constraint strings?
Дата
Msg-id 200407170002.24055.peter_e@gmx.net
обсуждение исходный текст
Ответ на \ escapes in check constraint strings?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-bugs
Bruno Wolff III wrote:
> I see the following behaivor on 7.4.3 and 7.4 stable from about a
> week ago: bruno=> create table test ();
> CREATE TABLE
> bruno=> alter table test add constraint test2 check('\\' = '');
> ALTER TABLE
> bruno=> \d test
>     Table "public.test"
>  Column | Type | Modifiers
> --------+------+-----------
> Check constraints:
>     "test2" CHECK ('\\'::text = ''::text)

It prints the SQL source code for the check constraint.  There is no
bug, AFAICS.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: \ escapes in check constraint strings?
Следующее
От: Nishad Prakash
Дата:
Сообщение: Cannot recreate DB scheme using pg_dump