From: | Chapman Flack <chap(at)anastigmatix(dot)net> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | who calls InitializeTimeouts() ? |
Date: | 2016-11-03 03:10:15 |
Message-ID: | 581AAA97.5090709@anastigmatix.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
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.
As PL/Java only uses it for a timeout on process exit anyway,
perhaps this is a mistake that has just never had much chance
to cause a noticeable problem.
Am I right that it's a mistake, though?
Thanks,
-Chap
From | Date | Subject | |
---|---|---|---|
Next Message | Haribabu Kommi | 2016-11-03 04:27:03 | Re: [BUGS] BUG #14350: VIEW with INSTEAD OF INSERT TRIGGER and COPY. Missing feature or working as designed. |
Previous Message | Tom Lane | 2016-11-03 02:54:50 | Re: plan_rows confusion with parallel queries |