lua-users home
lua-l archive

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


On 9/1/11, Ignacio Burgueño <ignaciob@inconcertcc.com> wrote:
>>
>> I followed your instructions and those in your link and I managed to
>> get it to connect using ODBC.
>>
>> However, this simple test:
>>
>>  require 'luasql.odbc'
>>  e = luasql.odbc()
>>  c = e:connect 'PostgreSQLtest'
>>  r = c:execute 'select * from foo'
>>
>>
>  It seems that table "foo" has a column with a type that luasql.odbc does
> not handle.
>
> Here are the handled types:
> https://github.com/keplerproject/luasql/blob/master/src/ls_odbc.c#L147
>

Well, foo has an integer pkey and a varchar(32).

But I suspected something like it: I managed to run a few create and
drop queries. I'll try again tomorrow morning (Lisbon time zone).