Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Simple PostgreSQL CGI connection question

From: ralph:abooks at: 24-Feb-2002 9:12

I'm playing with Rebol/Command scripts to access a PostgreSQL database and run SQL queries using ODBC on Win 2000. The scripts work great from the console but bomb out when run from the web via CGI, giving the following error: ** Script Error: Feature not available in this REBOL ** Where: do-boot ** Near: db: open odbc://PostgreSQL books: first Here's the script: db: open odbc://PostgreSQL books: first db insert books "select title,author,isbn,price from books where topic like '%Resnick%' order by title;" a: copy books print first a close db Do I need a newer version of Command (using 2.0) or am I doing something wrong? Thanks, --Ralph Roberts