Skip to content

Conversation

@mjgarton
Copy link
Contributor

Add a UDF for the pg_table_is_visible function. This is another step towards improved pg_catalog support.

Add a UDF for the pg_table_is_visible function.  This is another step
towards improved pg_catalog support.
@mjgarton
Copy link
Contributor Author

Actually I am not sure if this code is correct.

Or maybe it is correct and something else is wrong?

If I run SELECT oid FROM pg_catalog.pg_class c WHERE pg_table_is_visible(c.oid); as a quick test, pg_table_is_visible gets called with many parameters instead of being called multiple times, once for each oid.

@sunng87 sunng87 merged commit ad180eb into datafusion-contrib:master Jul 12, 2025
6 checks passed
@sunng87
Copy link
Member

sunng87 commented Jul 12, 2025

Accidently hit the merge button. Let me test it by myself later today.

@mjgarton mjgarton deleted the add_create_pg_table_is_visible branch September 21, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants