Re: [HACKERS] Multiline privileges in \z

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [HACKERS] Multiline privileges in \z
Дата
Msg-id 481CFBF7.2080701@dunslane.net
обсуждение исходный текст
Ответ на Re: [HACKERS] Multiline privileges in \z  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: [HACKERS] Multiline privileges in \z  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches

Brendan Jurd wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, Apr 18, 2008 at 2:37 AM, Tom Lane  wrote:
>
>>  The function names in the patch need schema-qualification in case
>>  pg_catalog is not first in the search path.
>>
>>
>
> Ah, yes.  I should have seen that.  Thanks Tom.
>
> New version attached with schema-qualification.
>

Wouldn't this expression:


       pg_catalog.array_to_string(c.relacl, chr(10))


be better expressed as


    pg_catalog.array_to_string(c.relacl, E'\n')

?

Quoted inside a C literal, the backslash would have to be doubled, of course.

cheers

andrew




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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Exposing keywords to clients
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Multiline privileges in \z