Tom Lane writes:
> > Tom Lane writes:
> >> It'll certainly be necessary for xact abort to restore the original
> >> user ID setting. Peter, did you do that already?
>
> > That's done by the setjmp/longjmp, no?
>
> Not automatically, surely.
Duh, of couse not. What was I smoking when I read the libc manual? The
odd thing is that I did test for this and I could not get a failure (i.e.,
current_user != session_user after elog due to RI violation). Anyway, the
fix is on the way.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/