aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2024-07-26 16:08:13 +0900
committerAmit Langote <amitlan@postgresql.org>2024-07-26 16:08:13 +0900
commit4fc6a555606de003690d46e900339e78214ee363 (patch)
tree47191123995c74c1b86a07dcf4e9785c78c5424a /src/tutorial/complex.c
parent231b7d670b218d6a5cde0574cf160c8157ab91fb (diff)
downloadpostgresql-4fc6a555606de003690d46e900339e78214ee363.tar.gz
postgresql-4fc6a555606de003690d46e900339e78214ee363.zip
SQL/JSON: Respect OMIT QUOTES when RETURNING domains over jsonb
populate_domain() didn't take into account the omit_quotes flag passed down to json_populate_type() by ExecEvalJsonCoercion() and that led to incorrect behavior when the RETURNING type is a domain over jsonb. Fix that by passing the flag by adding a new function parameter to populate_domain(). Reported-by: Jian He <jian.universality@gmail.com> Discussion: https://postgr.es/m/CACJufxEo4sUjKCYtda0_qt9tazqqKPmF1cqhW9KBOUeJFqQd2g@mail.gmail.com Backpatch-through: 17
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions