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
Extend CREATE TABLE to support Inheritance [CORE987] #1394
Comments
Modified by: @pcisarWorkflow: jira [ 11299 ] => Firebird [ 15017 ] |
Commented by: Cosmin Apreutesei (cosmin_ap2) I vote for it, just don't do it like Postgres, it's useless without applying constraints on the parent. If done right, this would be a killer feature for firebird. |
Commented by: Laszlo Moravecz (eMeL) (emel) +1 I would like to see it early as soon possible ;) See how Alex Peshkov plan it: http://www.firebirdnews.org/?p=3830 I think, inherited table must be a view+table hibrid. [A view hide same named table] |
Commented by: Marcoci Dorin (marcodor) +1 This is a very important and long awaited feature. |
Modified by: Sean Leyne (seanleyne)summary: Inherited tables => Extend CREATE TABLE to support table Inheritance |
Modified by: Sean Leyne (seanleyne)summary: Extend CREATE TABLE to support table Inheritance => Extend CREATE TABLE to support Inheritance |
Submitted by: Dejan Schild (schild)
Votes: 17
It would be very useful to implement this feature, like in PosgreSQL.
Example:
CREATE TABLE cities (
name char(20),
population integer,
altitude integer
);
CREATE TABLE capitals (
state char(2)
) INHERITS (cities);
In this case, the capitals table inherits all the columns of its parent table, cities. State capitals also have an extra column, state, that shows their state.
More on: http://www.postgresql.org/docs/8.1/interactive/ddl-inherit.html
The text was updated successfully, but these errors were encountered: