lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 4 Oct, 2012, at 22:18 , Ryan Pusztai <rpusztai@gmail.com> wrote:

> Hi Peter and All,
> 
> I am trying to use the LuaSQL Postgres module from the binary release of batteries-0.9.1.
> Has anyone successfully used it in this package? If not I wrote a test that breaks everytime.
> 
> local luasql		= require( "luasql.postgres" )
> local environment	= luasql.postgres()
> local connection	= environment:connect( "my_table", "user", "password", "server" )	-- EXPLODES
> print( "A message never seen" )
> 
> I can not call connect() at all. I have tested that the MySQL does work.
> 
> Any help would be greatly appreciated.
> --
> Regards,
> Ryan

Hi Ryan,
sadly I did not have a chance to test the postgres connector but please submit an issue to our tracker[1]. This may be a platform specific issue so please attach information about the host OS and hardware you are using so I can look into it. 

Mysql, sqlite and sqlite3 connectors work fine but I am not sure of the other connectors, reports are welcome.

pd

[1] https://github.com/LuaDist/Repository/issues