Re: Duplicate key insert question - Mailing list pgsql-general

From Jean-Christian Imbeault
Subject Re: Duplicate key insert question
Date
Msg-id 3F02934E.4000608@mega-bucks.co.jp
Whole thread Raw
In response to Re: Duplicate key insert question  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Responses Re: Duplicate key insert question  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
List pgsql-general
Shridhar Daithankar wrote:
>
> Just restart the postmaster and redirect log to script which ignores this
> message. A simple pipe to grep -v would do the trick. No need to
modify the
> app, no need to nodify the db as well.

True but each and every user would need to redirect their log, pipe to a
filter, etc ...

With a a trigger it's built into the app. You install the app and that's
it. It's a lot more user friendly, no?

Jean-Christian Imbeault


pgsql-general by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Performance question
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Duplicate key insert question