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.  There doesn't seem to be an
explicit getting of a handle.  It seems that they are gotten
automatically on each call and released on each call to a nsdbi
function.

Maybe the datasource param can contain a schema setting, but even that
would not be what I want.  I want to be able to set the path ideally
on each connection, or on each call to the nsdbi functions.

Is there a way to do this?

Thanks!

- Ian

------------------------------------------------------------------------------
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to