Re: [GENERAL] Text value within composite function result not quoted
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] Text value within composite function result not quoted |
| Дата | |
| Msg-id | 25719.1494909381@sss.pgh.pa.us обсуждение |
| Ответ на | [GENERAL] Text value within composite function result not quoted (Guyren Howe <guyren@gmail.com>) |
| Ответы |
Re: [GENERAL] Text value within composite function result not quoted
Re: [GENERAL] Text value within composite function result not quoted |
| Список | pgsql-general |
Guyren Howe <guyren@gmail.com> writes:
> ... get this result:
> (200,{},<body>Works!</body>)
> This is the textual representation of the result I get in psql and Ruby. Note that the textual final value is not
quoted.
> I imagine I can work out a way to deal with this, but this is not the most felicitous way of representing a text
valuethat I can imagine.
> Note that if I add a single space after “Works!”, I get quotes around the string.
As per spec:
https://www.postgresql.org/docs/current/static/arrays.html#ARRAYS-IO
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера