Re: ARRAY[] with \'s is broken? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: ARRAY[] with \'s is broken?
Date
Msg-id 428A2EB0.6040705@dunslane.net
Whole thread Raw
In response to Re: ARRAY[] with \'s is broken?  (Rod Taylor <pg@rbt.ca>)
List pgsql-hackers

Rod Taylor wrote:

>On Tue, 2005-05-17 at 13:18 -0400, Andrew Dunstan wrote:
>  
>
>>I don't see anything broken. V 7.4.8 shows the same:
>>    
>>
>
>How the heck do you store a single backslash in an text array?
>
>  
>

Well, in v 8.0 I use dollar quoting :-)

select ARRAY[$\$];

But as Tom says the text output  function will double it.

cheers

andrew


pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: ARRAY[] with \'s is broken?
Next
From: Andrew Dunstan
Date:
Subject: Re: Learning curves and such (was Re: pgFoundry)