public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adam Brusselback <[email protected]>
To: Purav Chovatia <[email protected]>
Cc: Pavel Stehule <[email protected]>
Cc: Laurenz Albe <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Stored Procedure Performance
Date: Wed, 11 Oct 2017 12:54:37 -0400
Message-ID: <CAMjNa7fwCbh4YuwUY5D7W5bM90aqUEqw-goYAvAt3UFvT0kjqg@mail.gmail.com> (raw)
In-Reply-To: <CADrzpjHWww9dV8Wrb9aioT1J2TY-QdeUFVn61tn5SqtqX6PfoA@mail.gmail.com>
References: <CADrzpjHChC6q0NGMG0wZUFvj-A0QO3WL9JONLcmRRCZuPnQQNQ@mail.gmail.com>
<[email protected]>
<CADrzpjG3SDW1OxAFrYVNq63M6WA_y=DL27DenZ=tHmr=6L6Y0w@mail.gmail.com>
<CAFj8pRCnzVUz69PNKwUZWeGP7P0xv0QznB_bwHHhgogLcqeo1w@mail.gmail.com>
<CADrzpjGMe4KUQrk8VSfmNmF6DYcuUq7mZTsBu4jaNx0YDrB-qw@mail.gmail.com>
<CAMjNa7eWtpCnf9uDgN4FAXTtNLUw1sbtgaTin4uHJGZpAjDm5Q@mail.gmail.com>
<CADrzpjHWww9dV8Wrb9aioT1J2TY-QdeUFVn61tn5SqtqX6PfoA@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-performance>
> Yes, there is some code to catch exceptions like unique constraint violation and no data found. Do you suggest we trying by commenting that part?
That is likely it. Comment that out and test.
If you still need to handle a unique violation, see if you can instead
use the ON CONFLICT clause on the INSERT.
--
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Stored Procedure Performance
In-Reply-To: <CAMjNa7fwCbh4YuwUY5D7W5bM90aqUEqw-goYAvAt3UFvT0kjqg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox