Re: who calls InitializeTimeouts() ? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: who calls InitializeTimeouts() ?
Date
Msg-id CA+TgmoY-iaqGYm=FA9yMgZ_7t7E8KkeU8dAWCevfUn-mj7zKCA@mail.gmail.com
Whole thread Raw
In response to who calls InitializeTimeouts() ?  (Chapman Flack <chap@anastigmatix.net>)
List pgsql-hackers
On Wed, Nov 2, 2016 at 11:10 PM, Chapman Flack <chap@anastigmatix.net> wrote:
> It looks like for about 3 years, PL/Java has been calling
> InitializeTimeouts before calling RegisterTimeout. Looking over
> the callers of InitializeTimeouts in core, though, it appears
> that an extension like PL/Java should be able to assume it has
> already been called, and in fact would be rude to call it again,
> as it isn't idempotent and could conceivably clobber somebody
> else's timeouts.

Yep.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Proposal: scan key push down to heap [WIP]
Next
From: Robert Haas
Date:
Subject: Re: plan_rows confusion with parallel queries