Re: Inherited Table

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Peter Harvey <pharvey(at)codebydesign(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Inherited Table
Date: 2001-09-06 20:43:20
Message-ID: 200109062043.f86KhL8s027352@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Harvey wrote:
>Yes. But pgsql does not support multiple inheritance (from what I can
>tell)...

In fact it does:

create table child (col1 text) inherits (parent1, parent2);

Identically named and typed columns in the parents are merged.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Behold, I stand at the door, and knock; if any man
hear my voice, and open the door, I will come in to
him, and will sup with him, and he with me."
Revelation 3:20

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-09-06 20:47:06 Re: FTI contrib
Previous Message Bruce Momjian 2001-09-06 20:41:33 Re: Idea for nested transactions / savepoints