From: pinker <pinker@onet.eu>
To: pgsql-general@postgresql.org
Subject: Re: pg_sleep() inside plpgsql block - pro & cons
Date: Tue, 2 Oct 2018 06:44:30 -0700 (MST)
Message-ID: <1538487870670-0.post@n3.nabble.com> (raw)
In-Reply-To: <CA+bJJbzEe9Gt3g98Nn9SXx4WMdcnU6LvOG049B8Bc3MpN1cxFQ@mail.gmail.com>
References: <1538475003972-0.post@n3.nabble.com>
<CA+bJJbzEe9Gt3g98Nn9SXx4WMdcnU6LvOG049B8Bc3MpN1cxFQ@mail.gmail.com>
Francisco Olarte wrote
> I do some similar things, but I sleep outside of the
> database, is there a reason this can not be done?
>
> Francisco Olarte.
Yes, I do try to convince them to do it outside the db, that's the reason
I'm looking for some support here :) I'm not sure those 2 reasons are enough
to convince them, wanted to be prepared...
You know it's always time to do refactoring and in this case it's a lot of
time because of the amount and complexity of the logic in db.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
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-general@postgresql.org
Cc: pinker@onet.eu
Subject: Re: pg_sleep() inside plpgsql block - pro & cons
In-Reply-To: <1538487870670-0.post@n3.nabble.com>
References: <1538475003972-0.post@n3.nabble.com> <CA+bJJbzEe9Gt3g98Nn9SXx4WMdcnU6LvOG049B8Bc3MpN1cxFQ@mail.gmail.com> <1538487870670-0.post@n3.nabble.com>
* 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