On Thu, Sep 1, 2011 at 12:29, joao lobato
<btnfdp.lobato@gmail.com> wrote:
Hi, list
I'be been trying to use LuaSQL to connect to a PostgreSQL database,
unsuccessfully.
I'm using Lua for Windows and when I try
require 'luasql.postgres'
I get the usual require error about it not being able to find the module.
I checked the searched directories and there's no postgres.dll (only
mysql.dll, odbc.dll and sqlite3.dll).
I could use some assistance regarding:
- am I missing something? (besides the dll... ;) )
- how do I connect to the db using ODBC if that is the only option?
- what would I have to do to compile the dll myself in a way that is
compatible with LfW?
- is there an alternative to LuaSQL that I'm overlooking?