Skip to content

Commit 5f6c25b

Browse files
Merge pull request #427 from diffix/cristian/misc
Allow discovery queries over `pg_enum`.
2 parents 2eca626 + 944b166 commit 5f6c25b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changelog
2-
- Allow all discovery queries over `pg_class`.
2+
- Allow more metadata discovery queries.
33

44
## Version 1.0.3
55
- Reject unsupported column types during AID labeling.

src/query/allowed_objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static const char *const g_pg_catalog_allowed_rels[] = {
6060
"pg_publication_rel", "pg_rewrite", "pg_roles", "pg_seclabel", "pg_seclabels", "pg_sequence", "pg_settings", "pg_shadow",
6161
"pg_shdepend", "pg_shdescription", "pg_shseclabel", "pg_stat_gssapi", "pg_subscription", "pg_subscription_rel", "pg_tablespace",
6262
"pg_trigger", "pg_ts_config", "pg_ts_dict", "pg_ts_parser", "pg_ts_template", "pg_type", "pg_user", "pg_tables", "pg_matviews",
63-
"pg_indexes", "pg_class", "pg_proc" /* `pg_proc` contains `procost` and `prorows` but both seem to be fully static data. */
63+
"pg_indexes", "pg_class", "pg_enum", "pg_proc" /* `pg_proc` contains `procost` and `prorows` but both seem to be fully static data. */
6464
};
6565

6666
static AllowedCols g_pg_catalog_allowed_cols[] = {

0 commit comments

Comments
 (0)