From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <520083510237-0001(at)t-online(dot)de>, Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Peter Eisentraut - PostgreSQL <petere(at)hub(dot)org>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql/src/backend/utils/adt (ri_triggers.c) |
Date: | 2000-09-27 10:41:05 |
Message-ID: | Pine.LNX.4.21.0009262121420.515-100000@peter |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-09-27 10:41:32 | Re: pgsql/src/backend/utils/adt (ri_triggers.c) |
Previous Message | Tom Lane | 2000-09-26 14:36:39 | Re: pgsql/src/backend/utils/adt (ri_triggers.c) |