Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PG: Only list tables where schema has USAGE permission (#7000)
This covers cases where partitioned tables are part of a schema that is not accessible by the current user. CREATE SCHEMA xyz; CREATE TABLE xyz.tab ( id bigint GENERATED ALWAYS AS IDENTITY, ts timestamp NOT NULL ) PARTITION BY LIST ((ts::date)); CREATE TABLE xyz.tab_default PARTITION OF xyz.tab DEFAULT;
- Loading branch information