From: | Nabil Sayegh <postgresql(at)e-trolley(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: merging 2 dumps |
Date: | 2003-08-02 16:43:06 |
Message-ID: | 1059842586.7145.6.camel@billy |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Am Sam, 2003-08-02 um 04.27 schrieb Tom Lane:
> Nabil Sayegh <postgresql(at)e-trolley(dot)de> writes:
> > I'm kind of afraid to use COPY because of referential integrity,
> > triggers etc.
>
> COPY used to have some problems, but they are all fixed.
I migrated from 7.2.? to 7.3.3 lately.
So the database in question still has old-style referential integrity
constraints.
When I dump the db without -D and force errors by manually editing the
dump and changing a foreign key to a value that doesn't exist, the
import won't recognize it.
There is no errormsg. and the data gets inserted into the table with the
'wrong' value.
Is that because of the old-style RI ?
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de
From | Date | Subject | |
---|---|---|---|
Next Message | Wolfgang Draxinger | 2003-08-03 19:44:04 | Migration from MySQL, some difficulties with DESCRIBE and SHOW |
Previous Message | Savage | 2003-08-02 08:43:20 | PostgreSQL to MSDE conversion help |