From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: hargudekishor@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14273: Tuple concurently updated error while creating function using async call from node js with postgresq
Date: Tue, 2 Aug 2016 14:00:11 -0400
Message-ID: <20160802180011.GA556096@alvherre.pgsql> (raw)
In-Reply-To: <20160802062247.1430.25478@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
hargudekishor@gmail.com wrote:
> We have connected our node js application with postgresql-9.4.8.We have
> several functions which are getting created in database using async call
> from nodejs to postgresql server.but while creating those functions ,We are
> encountered a error of "Tuple concurrently updated".
Yeah, this is known. We haven't worried too much, because the use case
seems thin: why are you deleting and creating the function over and
over? Wouldn't it be better to create the function once and be done
with it?
> And because of this error our node js application is getting
> terminated.which is not affordable to us.
Surely the application should be able to do something else upon
receiving an error, rather than crashing.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, hargudekishor@gmail.com
Subject: Re: BUG #14273: Tuple concurently updated error while creating function using async call from node js with postgresq
In-Reply-To: <20160802180011.GA556096@alvherre.pgsql>
References: <20160802062247.1430.25478@wrigleys.postgresql.org> <20160802180011.GA556096@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox