diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-20 20:18:11 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-20 20:18:11 -0300 |
commit | 1a2983231d9080bfa06cfbf38d5415b5d71eea91 (patch) | |
tree | f2ffa0124199743a526be51d278ec3ed64c53b6d /src/backend/commands/async.c | |
parent | dbb9aeda9959d8a8f463e841b69dfa04afc67a3a (diff) | |
download | postgresql-1a2983231d9080bfa06cfbf38d5415b5d71eea91.tar.gz postgresql-1a2983231d9080bfa06cfbf38d5415b5d71eea91.zip |
Split out code into new getKeyJsonValueFromContainer()
The new function stashes its output value in a JsonbValue that can be
passed in by the caller, which enables some of them to pass
stack-allocated structs -- saving palloc cycles. It also allows some
callers that know they are handling a jsonb object to use this new jsonb
object-specific API, instead of going through generic container
findJsonbValueFromContainer.
Author: Nikita Glukhov
Discussion: https://postgr.es/m/7c417f90-f95f-247e-ba63-d95e39c0ad14@postgrespro.ru
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions