Re: array_accum() and quoted content - Mailing list pgsql-general

From Tom Lane
Subject Re: array_accum() and quoted content
Date
Msg-id 26183.1217272264@sss.pgh.pa.us
Whole thread Raw
In response to array_accum() and quoted content  ("Raymond C. Rodgers" <sinful622@gmail.com>)
Responses Re: array_accum() and quoted content
List pgsql-general
"Raymond C. Rodgers" <sinful622@gmail.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:
http://www.postgresql.org/docs/8.2/static/arrays.html#AEN5876

> 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

pgsql-general by date:

Previous
From: "Raymond C. Rodgers"
Date:
Subject: array_accum() and quoted content
Next
From: "Raymond C. Rodgers"
Date:
Subject: Re: array_accum() and quoted content