Re: Is a SERIAL column a "black box", or not? - Mailing list pgsql-hackers

From mark@mark.mielke.cc
Subject Re: Is a SERIAL column a "black box", or not?
Date
Msg-id 20060501152138.GA30595@mark.mielke.cc
Whole thread Raw
In response to Re: Is a SERIAL column a "black box", or not?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Is a SERIAL column a "black box", or not?
List pgsql-hackers
On Mon, May 01, 2006 at 11:18:13AM -0400, Tom Lane wrote:
> mark@mark.mielke.cc writes:
> > If the user is specifying the default expression, they can specify
> > SECURITY DEFINER themselves, yes?
> Not unless they write a wrapper function to be a security definer
> and call nextval().

Ah. I was wondering about that. When I saw the first poster tag
'SECURITY DEFINER' on the end of the expression I assumed it was
something that I didn't know you could do... :-)

mark

-- 
mark@mielke.cc / markm@ncf.ca / markm@nortel.com     __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada
 One ring to rule them all, one ring to find them, one ring to bring them all                      and in the darkness
bindthem...
 
                          http://mark.mielke.cc/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is a SERIAL column a "black box", or not?
Next
From: Tom Lane
Date:
Subject: Re: Is a SERIAL column a "black box", or not?