From: | Michael Raven <MichRaven(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: copy row tree |
Date: | 2007-01-19 07:07:13 |
Message-ID: | 8445042.post@talk.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Toni Casueps wrote:
>
>
> I have a set of tables with one-to-many relationships between them:
>
> T1 <-->> T2 <-->> T3 <-->> T4
>
> I need to copy some rows of these tables to another set of tables which
> have
> the same fields. There are two rows on T1 that I want to copy, and then
> those rows of T2 linked to the other ones, and so on.
>
> Is there a way to accomplish this? I have pgadminIII, DBManager and EMS
> Postgresql Manager.
>
>
Is there foreign keys constrains between tables T1, T2, T3 and T4 or just
logical relationship?
EMS Postgresql Manager has visual query designer and dependency viewer. Use
it features to select disired records and insert it into second set of
tables. Also
--
View this message in context: http://www.nabble.com/-GENERAL--copy-row-tree-tf3026502.html#a8445042
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2007-01-19 08:24:16 | Re: Installation of PostgreSQL Service under admin account |
Previous Message | Devrim GUNDUZ | 2007-01-19 06:59:42 | Re: uninstalling postgre sql on Fedora core 5 |