Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Peter Harvey wrote:
  >Yes. But pgsql does not support multiple inheritance (from what I can

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                    
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 

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group