Bernd Eidenschink schrieb:
Hi friends!
Anybody out there who successfully compiled nspostgres-4.0 driver with
NaviServer (including -DFOR_ACS_USE CFLAG) ?
yes, and i don't remember having problems... (see below)
Good the hear from Vlad that there is a new version for the driver
out for naviserver. i was not aware of this either.
i am wondering, is there a good reason for using he using the
char* interface and not the Tcl_Obj interface (Tcl_CreateCommand
and not Tcl_CreateObjCommand) (beyond "have not touched this").
There should be a couple of places, where Tcl-Objs are useful
(bind lists, blobs). afaik, the commands created by CreateCommand
are wrapper to call Obj_CmdProc, so i would hope to get some
slight improvements here, but executed very frequently.
However, also ns_pgtcl from the postgres distro seems to use still the
char* interface.
-gustaf neumann
PS: here is what is use for compiling the modules for NS and AS
====================================
NS=/usr/local/ns
#NS=/usr/local/aolserver4
TCL=/usr/local/ns/tcl8.4.12/unix
export NAVISERVER=$NS
export AOLSERVER=$NS
...
cd nspostgres
make INST=$NS clean
make INST=$NS POSTGRES=/usr/local/pg745 ACS=1 install
cd ..
Bernd.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel