Re: Bug #524: Bad quoting of backslash in text arrays

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug #524: Bad quoting of backslash in text arrays
Дата
Msg-id 18377.1007045782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug #524: Bad quoting of backslash in text arrays  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> Note that the backslash between aaa and bbb should be doubled.

Yeah, I think you're right.  I get:

regression=# select a from test;
        a
------------------
 {"aaa\bbb\"ccc"}
(1 row)

regression=# select a[1] from test;
      a
-------------
 aaa\bbb"ccc
(1 row)

If the array output routine is going to backslash the ", methinks it'd
better backslash the backslash too.

Any objections to changing this behavior?

            regards, tom lane

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

Предыдущее
От: "Manish Khare"
Дата:
Сообщение: Error in Installation
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #525: createlang for plperl fails on Tru64 version 4.0F (v 7.1.3)