Inheritance and changing record types

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Inheritance and changing record types
Date: 2002-09-03 22:16:42
Message-ID: 8765xmpvlh.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Is it possible to "promote" a record from a base table to an inherited table?

For example, say I have a base table "visitor" and a table that inherits
called "member" that adds columns such as username, password, membership_type,
etc. Is there any way to take an existing visitor record and promote it to a
member without breaking foreign key relationships to the parent visitor
record?

--
greg

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2002-09-03 22:23:08 Re: parameterized views?
Previous Message Jeff Davis 2002-09-03 21:17:32 Re: parameterized views?