| От | Raymond C. Rodgers |
|---|---|
| Тема | Re: array_accum() and quoted content |
| Дата | |
| Msg-id | 488E1CA9.2020703@gmail.com обсуждение исходный текст |
| Ответ на | Re: array_accum() and quoted content (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: array_accum() and quoted content
|
| Список | pgsql-general |
Drat, thanks. Other than array_accum() I've never used arrays in PostgreSQL, so I wasn't aware of that behavior."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#AEN5876Is 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера