On Apr 16, 2008, at 2:33 PM, Tom Jackson wrote:
You should look at the pg driver, I think it can emulate bind variables, or
maybe it is part of the db_* API of OpenACS.



You have to compile nspostgres.c for OpenACS use to make the command available.

Then use ns_pg_bind rather than ns_db. :foo will reference the tcl var foo in the caller.

----
Don Baccus
http://donb.photo.net
http://birdnotes.net
http://openacs.org


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to