aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-09-13 12:51:21 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-09-13 12:51:21 -0400
commit19f5a37b9fc48a12c77edafb732543875da2f4a3 (patch)
tree7f99e3c64510cbf4ee48bea10e181da1b1b3960e /src/backend/utils/adt/jsonpath_exec.c
parent03c7f1f37a1f3bb69e348f915296af2289257e89 (diff)
downloadpostgresql-19f5a37b9fc48a12c77edafb732543875da2f4a3.tar.gz
postgresql-19f5a37b9fc48a12c77edafb732543875da2f4a3.zip
Use the properly transformed RangeVar for expandTableLikeClause().
transformCreateStmt() adjusts the transformed statement's RangeVar to specify the target schema explicitly, for the express reason of making sure that auxiliary statements derived by parse transformation operate on the right table. But the refactoring I did in commit 502898192 got this wrong and passed the untransformed RangeVar to expandTableLikeClause(). This could lead to assertion failures or weird misbehavior if the wrong table was accessed. Per report from Alexander Lakhin. Like the previous patch, back-patch to all supported branches. Discussion: https://postgr.es/m/05051f9d-b32b-cb35-6735-0e9f2ab86b5f@gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions