postgresql/src/backend/optimizer/util
David Rowley bbfdf7180d 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
2022-12-24 00:58:34 +13:00
..
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
appendinfo.c Update some comments that should've covered MERGE 2022-10-24 12:52:43 +02:00
clauses.c Replace SQLValueFunction by COERCE_SQL_SYNTAX 2022-11-21 18:31:59 +09:00
inherit.c Fix bug in translate_col_privs_multilevel 2022-12-24 00:58:34 +13:00
joininfo.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
meson.build Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
orclauses.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
paramassign.c Rename shadowed local variables 2022-10-05 21:01:41 +13:00
pathnode.c Fix Memoize to work with partitionwise joining. 2022-12-05 12:36:40 -05:00
placeholder.c Add repalloc0 and repalloc0_array 2022-11-12 20:34:44 +01:00
plancat.c Guard against table-AM-less relations in planner. 2022-10-17 11:35:23 -04:00
predtest.c Produce more-optimal plans for bitmap scans on boolean columns. 2022-11-08 10:36:04 -05:00
relnode.c Rework query relation permission checking 2022-12-06 16:09:24 +01:00
restrictinfo.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
tlist.c Fix incorrect tests for SRFs in relation_can_be_sorted_early(). 2022-08-03 17:33:42 -04:00
var.c Make PlaceHolderInfo lookup O(1). 2022-08-17 15:35:51 -04:00