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

[Feature] Try to use tableoid in order to distinguish records on table inheritance #47

Open
crashtech opened this issue Sep 3, 2020 · 1 comment

Comments

@crashtech
Copy link
Owner

Since the column tableoid is available without the need of extra join or anything, it seems to be faster to use it as the source of inherited table discover.

We already use the tableoid as a join to pg_class.oid to get the table name, but maybe we can do it directly and use the number as the reference. This can also facilitate many other mappings for inheritance.

@crashtech
Copy link
Owner Author

Try to use type map!

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

No branches or pull requests

1 participant