Re: Inheritance clarification please - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Inheritance clarification please
Date
Msg-id Pine.LNX.4.30.0105211743490.757-100000@peter.localdomain
Whole thread Raw
In response to Inheritance clarification please  ("tom" <tom@outervention.net>)
List pgsql-general
tom writes:

>     Is the data duplicated or just referenced in the parent table? If it's
> duplicated then the database size and bloat are an issue for me.

Just in the parent table.

>     Another question I have is that say I have a parent table users and a child
> table hobbies...one of my users exists only in the users table but now I
> want to add his hobbies...is it possible to change him over to the hobbies
> table without deleting him in the user table, then inserting him into the
> hobbies table from scratch?

No.  "Class promotion" is not a common operation in object oriented
systems.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: "Len Morgan"
Date:
Subject: Re: LIKE erratic? or unseen DB corruption?
Next
From: "Denis A. Doroshenko"
Date:
Subject: Re: psql shell problem