Skip to content
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

Create casts from meta-identifiers to OIDs #36

Open
erichanson opened this issue Oct 30, 2024 · 0 comments
Open

Create casts from meta-identifiers to OIDs #36

erichanson opened this issue Oct 30, 2024 · 0 comments
Labels
🌱enhancement New feature or request 💡idea

Comments

@erichanson
Copy link
Collaborator

We've excluded PostgreSQL oids from the catalog intentionally, but sometimes they are needed. Thought about adding an oid column to the appropriate meta.* views, but it really departs from meta's "above-the-hood" philosophy.

Instead, make a cast from meta-identifiers to oids. For example:

select meta.relation_id('a','b')::oid;
@erichanson erichanson added 🌱enhancement New feature or request 💡idea labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱enhancement New feature or request 💡idea
Projects
None yet
Development

No branches or pull requests

1 participant