Skip site navigation (1) Skip section navigation (2)

Re: array_accum() and quoted content

From: "Raymond C(dot) Rodgers" <sinful622(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: array_accum() and quoted content
Date: 2008-07-28 19:23:21
Message-ID: (view raw or whole thread)
Lists: pgsql-general
Tom Lane wrote:
> "Raymond C. Rodgers" <sinful622(at)gmail(dot)com> writes:
>> The only difference I can see is that the quotes don't appear when the 
>> values returned don't contain white space, and do when white space is 
>> present.
> That is per the definition of array output format:
>> Is there any way to force consistency? My PHP code currently is 
>> expecting quoted strings to be returned.
> Better fix your PHP code.
> 			regards, tom lane
Drat, thanks. Other than array_accum() I've never used arrays in 
PostgreSQL, so I wasn't aware of that behavior.


In response to


pgsql-general by date

Next:From: aravind chanduDate: 2008-07-28 19:30:34
Subject: How to give input a file for a stored procedure
Previous:From: Tom LaneDate: 2008-07-28 19:11:04
Subject: Re: array_accum() and quoted content

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group