3c0b60494d
DESCR: LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to: * Connect to ODBC, Oracle, MySQL and PostgreSQL databases; * Execute arbitrary SQL statements; * Retrieve results in a row-by-row cursor fashion; TODO: This package is broken for -ldl OS... This may be patched before going to pkgsrc. It's also possible to create Oracle, MySQL and ODBC linkages using the same sources, but I only have postgresql74 installed. Anybody working on postgresql74? porting to bl3 and update databases/postgresql it's important.
13 lines
492 B
Text
13 lines
492 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2004/02/26 15:03:07 poppnk Exp $
|
|
|
|
To use lua-pgsql in your lua programs you must set this environ variable:
|
|
|
|
LUA_INIT = "loadlib('/usr/pkg/lib/libluasqlpostgres.so',
|
|
'luasql_libopen_postgres')();"
|
|
|
|
You will probably will problems loading the library, then environ that:
|
|
|
|
LD_LIBRARY_PATH=${PREFIX}/lib
|
|
|
|
===========================================================================
|