Re: [HACKERS] Multiline privileges in \z

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Brendan Jurd <direvus(at)gmail(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Multiline privileges in \z
Date: 2008-05-04 00:55:31
Message-ID: 1741.1209862531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> 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')

+1 ... it's minor, but knowing that ASCII LF is 10 is probably not
wired into too many people's brains anymore. (Besides, some of us
remember it as octal 12, anyway...)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-05-04 04:40:19 Re: Sorting writes during checkpoint
Previous Message Andrew Dunstan 2008-05-03 23:57:43 Re: [HACKERS] Multiline privileges in \z

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-05-04 04:40:19 Re: Sorting writes during checkpoint
Previous Message Andrew Dunstan 2008-05-03 23:57:43 Re: [HACKERS] Multiline privileges in \z