pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tsurkin@jct.ac.il
To: pgsql-admin@postgresql.org
Subject: inheretence question
Date: Sun, 18 Jul 2004 11:50:38 +0300
Message-ID: <1090140638.027e45903a6f3@webmail.jct.ac.il> (raw)
In-Reply-To: <f034fbcc91d282af39d9f83a59223654f89f35b8@postgresql.org>
References: <f034fbcc91d282af39d9f83a59223654f89f35b8@postgresql.org>

I am but that is what actually want : to be able to add a column
to the first table and have the second to be added a coulumns
automatically.The target is realy simple :
i want to simplify management of the schema and thus be able to
manage only parantes - children should be managed aoutomagically
But the data is NOT the same!
Isn't it the inheretence is all about - to inherit?
On Fri, 16 Jul 2004, mike g wrote:

> According to your posting below the second table will have all the
> columns of the first table plus extra columns.  If that is true then why
> are you trying to add a column to your first table and not your second
> table as well?
>
> On Tue, 2004-07-13 at 06:32, evgeny tsurkin wrote:
> > Hi All!
> > That probably was already asked thousand times
> > but i did not find an exact answer:
> > I want to have two tables the second one will have
> > all the columns from the first + some extra .The data
> > should be complittly separate .I was trying to use
> > inheritance and setted the  SQL_INHERITANCE = false
> > to separate the data ,but when trying to add a column
> > to the father i have got an error:
> > ERROR:  Attribute must be added to child tables too
> > what can i do ?
> > Thanks
> > Evgeny.
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
>




Message-ID: <1090140638.027e45903a6f3@webmail.jct.ac.il>
Permalink:  ../1090140638.027e45903a6f3@webmail.jct.ac.il/
Also on:    postgresql.org/message-id/1090140638.027e45903a6f3@webmail.jct.ac.il

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tsurkin@jct.ac.il
  Subject: Re: inheretence question
  In-Reply-To: <1090140638.027e45903a6f3@webmail.jct.ac.il>
  References: <f034fbcc91d282af39d9f83a59223654f89f35b8@postgresql.org> <1090140638.027e45903a6f3@webmail.jct.ac.il>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox