hi!

I am trying to use the postgres driver with aolserver 4.0
and get the following error. Does this make any sense? Is
this some know bug? :) The same code works ok with aolserver3.

Using aolserver4beta6 and nspostgres-4.0beta1 on Solaris.

Thanks!

/Mohan

The error message in the log file:


invalid database id:  "nsdb0"
    while executing
"ns_pg_bind 0or1row nsdb0 {
        select count(*) from pg_class
        where relname = lower(:table_name) and
            relname !~ '^pg_' and relkind = 'r'
    ..."
    ("uplevel" body line 1)
    invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql"
    invoked from within
"db_exec 0or1row $db $full_name $sql"
    invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle db {
        set selection [db_exec 0or1row $db $full_name $sql]
    }"
    (procedure "db_string" line 7)
    invoked from within
"db_string table_count {
        select count(*) from pg_class
        where relname = lower(:table_name) and
            relname !~ '^pg_' and relkind = 'r'
    }"
    (procedure "db_table_exists" line 2)
    invoked from within
"db_table_exists $table_name"
    (procedure "install_good_data_model_p" line 3)
    invoked from within
"install_good_data_model_p"
    (file "/web/foobar/packages/acs-bootstrap-installer/installer/create-
administrator.tcl" line 1)


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to