-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
implement single table inherits #929
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'm fine with this as well as we update the docs on INHERITS to describe the limitations. It would be even better if we added real engine support for this feature so that you could specify additional table columns in the statement.
improved version: #935 |
create table t1 inherits t2;
in postgres is similar tocreate table t1 like t2
in mysqlHowever, postgres supports adding columns and inherting from multiple tables.
There are also some foreign key-like dependencies.