From: | Jim Nasby <jnasby(at)pervasive(dot)com> |
---|---|
To: | William Leite Araújo <william(dot)bh(at)gmail(dot)com> |
Cc: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #2372: dblink_exec doesn't return. NEVER! |
Date: | 2006-04-06 11:46:00 |
Message-ID: | DA0752C5-E3EC-42F2-89B9-041D29C07FF3@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Apr 5, 2006, at 7:28 AM, William Leite Araújo wrote:
> On 4/3/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> (...)
> You need to read up on SECURITY DEFINER functions.
>
> regards, tom lane
>
>
> Ok, I'll do this way, but still don't understand why it doesn't
> returns.
> I'm doing things simillar to this to create users automatically,
> and works fine...
As Tom mentioned, it's probably an issue of waiting on a lock that it
can't acquire. Just because it worked for creating users doesn't mean
it's a good idea. It's certainly less efficient than a SECURITY
DEFINER function, for starters...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-04-06 12:12:31 | Re: BUG #2379: Duplicate pkeys in table |
Previous Message | Jim Nasby | 2006-04-06 11:41:55 | Windows installer bugs (was: [BUGS] BUG #2374: Installation Error) |