| From: | "Shoaib Mir" <shoaibmir(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Table Inheritence...Just Columns? |
| Date: | 2006-07-26 22:15:45 |
| Message-ID: | bf54be870607261515y711a2cdbj14e97124e8dbd4dc@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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)
On 7/27/06, Redefined Horizons <redefined(dot)horizons(at)gmail(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | aurora | 2006-07-26 22:27:56 | Database corruption with Postgre 7.4.2 on FreeBSD 6.1? |
| Previous Message | Tom Lane | 2006-07-26 22:08:23 | Re: Generating unique session ids |