Re: [HACKERS] Multiline privileges in \z - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] Multiline privileges in \z
Date
Msg-id 481CFBF7.2080701@dunslane.net
Whole thread Raw
In response to Re: [HACKERS] Multiline privileges in \z  ("Brendan Jurd" <direvus@gmail.com>)
Responses Re: [HACKERS] Multiline privileges in \z
List 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 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Exposing keywords to clients
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Multiline privileges in \z