Re: pg_dump data integrity & java

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump data integrity & java
Date: 2001-02-06 01:22:16
Message-ID: 3.0.5.32.20010206122216.02951320@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 20:16 5/02/01 -0500, Tom Lane wrote:
>Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
>> If it is dumped as inserts you will get RI errors. If done via copy then
>> some but not all constraints will be evaluated - I think that COPY does not
>> fire triggers.
>
>Say what? COPY certainly does fire triggers ...

Is there any difference between COPY and INSERT other than speed?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-02-06 01:28:36 Re: pg_dump data integrity & java
Previous Message Tom Lane 2001-02-06 01:16:48 Re: pg_dump data integrity & java