I've also seen this with OpenACS/PostgreSQL/Win32, and I think Jonathan
Ellis was reporting the same error in his message to this list on 15 May.

I'm going to try and reproduce the error with the next beta (coming out
very soon).  Assuming it is still there, I'll start a bug on SourceForge
so that it doesn't get lost in the mailing list traffic.  (Or feel free
to report it first, I'm swamped!)
Thanks,

Jamie


Mohan Pakkurti wrote:
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/


--
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