Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2020-09-13 16:51:21 +0000
committerTom Lane2020-09-13 16:51:21 +0000
commitb380484a850b6bf7d9fc0d85c555a2366e38451f (patch)
tree095469c91dd39f646b9938771dc2369844960352 /contrib/pgcrypto/pgp-mpi-internal.c
parente6bbe07deec9824eb62fbbf38c4bfe7aaf674d37 (diff)
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 'contrib/pgcrypto/pgp-mpi-internal.c')
0 files changed, 0 insertions, 0 deletions