Re: pgsql vs mysql

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgsql vs mysql
Date: 2006-07-12 15:44:01
Message-ID: C0DA9101.DE5D%sdavis2@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/12/06 3:32 AM, "Rafal Pietrak" <rafal(at)zorro(dot)isa-geek(dot)com> wrote:

> On Tue, 2006-07-11 at 15:24 -0500, Ron Johnson wrote:
>> Joshua D. Drake wrote:
>>> It is also something that users are clammoring for (and my customers). To
>>> the point that I have customers using unions to emulate the behavior. Why?
>>> Because it is really, really fast.
>>
>> When inserting multiple rows in the same INSERT statement, how do
>> you tell which row fails on a constraint or datatype-mismatch violation?
>
> BTW. COPY from psql client is quite trivial (we learn that from
> pg_dump), but can someone hint on how to use it from perl scrypt? With
> "use DBI" module?
>

See the DBD::Pg documentation, under "copy support".

Sean

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2006-07-12 15:59:26 Re: Long term database archival
Previous Message Guy Fraser 2006-07-12 15:43:36 Re: =?UTF-8?Q?re: How to insert .xls files into