Skip to content

Add UDF for pg_table_is_visible #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

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.

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