postgresql/src
Alvaro Herrera abb014a631 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
2019-09-20 19:30:16 -03:00
..
backend Refactor code into new JsonbValueAsText, and use it more 2019-09-20 19:30:16 -03:00
bin pg_upgrade/test.sh: Quote sed(1) argument 2019-09-18 11:27:11 -03:00
common Refactor logic to remove trailing CR/LF characters from strings 2019-08-09 11:05:14 +09:00
fe_utils Fix memory leak coming from simple lists built in reindexdb 2019-07-30 10:54:48 +09:00
include Improve handling of NULLs in KNN-GiST and KNN-SP-GiST 2019-09-19 21:48:39 +03:00
interfaces Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
makefiles Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
pl Split tuptoaster.c into three separate files. 2019-09-05 13:15:10 -04:00
port Use explicit_bzero 2019-09-05 08:30:42 +02:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix some minor spec-compliance issues in jsonpath lexer. 2019-09-20 14:22:58 -04:00
timezone Use zic's new "-b slim" option to generate smaller timezone files. 2019-08-19 13:17:02 -04:00
tools Improve handling of NULLs in KNN-GiST and KNN-SP-GiST 2019-09-19 21:48:39 +03:00
tutorial Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
Makefile.shlib Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
nls-global.mk Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00