| От | Peter Eisentraut |
|---|---|
| Тема | Re: Oid registry |
| Дата | |
| Msg-id | 506225EA.9080105@gmx.net обсуждение |
| Ответ на | Re: Oid registry (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: Oid registry
|
| Список | pgsql-hackers |
On 9/24/12 10:26 PM, Andrew Dunstan wrote: > Well, an obvious case is how record_to_json handles fields. If it knows > nothing about the type all it can do is output the string value. That > doesn't work well for types such as hstore. If it could reliably > recognize a field as an hstore it might well be able to do lots better. I think the fix there is that the type supplies a "to JSON" function as part of its type definition (just like input and output functions). "to XML" would also be useful. Most types wouldn't need them and default to string output.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера