From: | Sean Chittenden <sean(at)chittenden(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [EXAMPLE] Overly zealous security of schemas... |
Date: | 2003-04-27 08:35:11 |
Message-ID: | 20030427083511.GM35599@perrin.int.nxad.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > Ah, I had this backwards: I thought SECURITY DEFINER wasn't
> > setting something that'd allow the foreign keys to run as the
> > owner of the function.
>
> Nah; by the time the RI triggers run, you're out of the function
> entirely. So they have to fend for themselves.
>
> Here's the 7.3 version of the patch (it's a bit ugly because I had
> to back-port a couple of changes that are in CVS tip).
Ah, excellent! Thank you Tom. This patch works wonderfully for me!
It doesn't apply cleanly to 7.2, but here's the diff in case anyone's
interested (applies to postgresql7 and postgresql-devel, just drop it
into files/ and recompile):
-sc
--
Sean Chittenden
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2003-04-27 10:08:07 | Re: current breakage with PGCLIENTENCODING |
Previous Message | Joachim Wieland | 2003-04-27 07:46:17 | Re: STABLE functions |