Re: [naviserver-devel] DB Connection Handles nsdbipg

2009-03-26 Thread Stephen Deasey
On Thu, Mar 26, 2009 at 3:09 PM, Ian Harding wrote: > Please ignore, it is a permission issue.  The user had not rights in > the schema, and since I used search_path, it didn't generate a > permission denied error, it just didn't look there and generated a > does not exist error. Great. FYI, t

Re: [naviserver-devel] DB Connection Handles nsdbipg

2009-03-26 Thread Ian Harding
Please ignore, it is a permission issue. The user had not rights in the schema, and since I used search_path, it didn't generate a permission denied error, it just didn't look there and generated a does not exist error. Sorry about the noise. Things seem to work as expected. - Ian On 3/26/09,

Re: [naviserver-devel] DB Connection Handles nsdbipg

2009-03-26 Thread Ian Harding
On Wed, Mar 25, 2009 at 5:10 PM, Stephen Deasey wrote: > On Wed, Mar 25, 2009 at 10:56 PM, Ian Harding wrote: >> I am in a situation where I'd like to be able to set the search_path >> on each page request. In AOLServer I would have just made a db handle >> getter function that would call ns_db

Re: [naviserver-devel] DB Connection Handles nsdbipg

2009-03-25 Thread Ian Harding
On Wed, Mar 25, 2009 at 5:10 PM, Stephen Deasey wrote: > On Wed, Mar 25, 2009 at 10:56 PM, Ian Harding wrote: >> I am in a situation where I'd like to be able to set the search_path >> on each page request.  In AOLServer I would have just made a db handle >> getter function that would call ns_db

Re: [naviserver-devel] DB Connection Handles nsdbipg

2009-03-25 Thread Stephen Deasey
On Wed, Mar 25, 2009 at 10:56 PM, Ian Harding wrote: > I am in a situation where I'd like to be able to set the search_path > on each page request.  In AOLServer I would have just made a db handle > getter function that would call ns_db gethandle, issue a quick SET > command, and pass the handle b

[naviserver-devel] DB Connection Handles nsdbipg

2009-03-25 Thread Ian Harding
I am in a situation where I'd like to be able to set the search_path on each page request. In AOLServer I would have just made a db handle getter function that would call ns_db gethandle, issue a quick SET command, and pass the handle back to the caller. With nsdbipg I don't know how to do this.