aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2022-12-24 00:58:34 +1300
committerDavid Rowley <drowley@postgresql.org>2022-12-24 00:58:34 +1300
commitbbfdf7180de85f9e7e995ba00dddc58452b3ba4b (patch)
tree7fb18e6bcf19c829292fad8fad9224bf4e97dbfb /src/backend/utils/adt/enum.c
parentb5d0f8ec01c021452203b2fd3921c9b55f6c3cd3 (diff)
downloadpostgresql-bbfdf7180de85f9e7e995ba00dddc58452b3ba4b.tar.gz
postgresql-bbfdf7180de85f9e7e995ba00dddc58452b3ba4b.zip
Fix bug in translate_col_privs_multilevel
Fix incorrect code which was trying to convert a Bitmapset of columns at the attnums according to a parent table and transform them into the equivalent Bitmapset with same attnums according to the given child table. This code is new as of a61b1f748 and was failing to do the correct translation when there was an intermediate parent table between 'rel' and 'top_parent_rel'. Reported-by: Ranier Vilela Author: Richard Guo, Amit Langote Discussion: https://postgr.es/m/CAEudQArohfB_Gy%2BhcH2-bANUkxgjJiP%3DABq01_LgTNTbcNijag%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions