Thread: Table Inheritence...Just Columns?
Does a child table just inherit the columns from a parent table, or are other table objects like column constraints and triggers inherited? Thanks, Scott Huey
From PostgreSQL 8.1 documentation (http://www.postgresql.org/docs/8.1/static/ddl-inherit.html)
"Check constraints can be defined on tables within an inheritance hierarchy. All check constraints on a parent table are automatically inherited by all of its children. Other types of constraints are not inherited, however"
Thanks,
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
"Check constraints can be defined on tables within an inheritance hierarchy. All check constraints on a parent table are automatically inherited by all of its children. Other types of constraints are not inherited, however"
Thanks,
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 7/27/06, Redefined Horizons <redefined.horizons@gmail.com> wrote:
Does a child table just inherit the columns from a parent table, or
are other table objects like column constraints and triggers
inherited?
Thanks,
Scott Huey
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly