Re: Constraint Error effect on PostgreSQL - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Constraint Error effect on PostgreSQL
Date
Msg-id 4415AE4E.9000402@archonet.com
Whole thread Raw
In response to Constraint Error effect on PostgreSQL  ("Christian Paul B. Cosinas" <cpc@cybees.com>)
List pgsql-sql
Christian Paul B. Cosinas wrote:
> 
> Then  I have a program that insert 1(one) million times like this:
> Insert into unique_items(item_id) values('Item001)
> 
> Ofcourse we all know that it will fail because there is already a record in
> the database.
> 
> Would there be any bad effect on the database or none?

No long-term effects. Obviously it takes time to run one million queries 
even if they are all inserts that fail.

--   Richard Huxton  Archonet Ltd


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: connectby documentation
Next
From: PFC
Date:
Subject: Re: Permission to Select