pgsql: Refactor code into new JsonbValueAsText, and use it more
В списке pgsql-committers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | pgsql: Refactor code into new JsonbValueAsText, and use it more |
| Дата | |
| Msg-id | E1iBRWi-0002ou-Gl@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Refactor code into new JsonbValueAsText, and use it more jsonb_object_field_text and jsonb_array_element_text both contained identical copies of this code, so extract that into new routine JsonbValueAsText. This can also be used in other places, to measurable performance benefit: the jsonb_each() and jsonb_array_elements() functions can use it for outputting text forms instead of their less efficient current implementation (because we no longer need to build intermediate a jsonb representation of each value). Author: Nikita Glukhov Discussion: https://postgr.es/m/7c417f90-f95f-247e-ba63-d95e39c0ad14@postgrespro.ru Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/abb014a63106653f2872a3b1662a79ab80d4dcbb Modified Files -------------- src/backend/utils/adt/jsonfuncs.c | 173 ++++++++++++++------------------------ 1 file changed, 61 insertions(+), 112 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера