lua-users home
lua-l archive

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


	Hi

On Tue, 17 Apr 2012, Patrick Rapin wrote:

require "luasql.postgres"

Try with :
luasql = require "luasql.postgres"

In Lua 5.2, modules are not exported by default to the global
environment anymore.
(But this depends in fact on how the module is actually implemented).
	Correct.
	I would like to add that not all drivers actually support Lua
5.2.  I've successfully made changes on Postgres, MySQL and SQLite 3,
but failed to test Firebird.  I haven't touched the other drivers yet.

	Regards,
		Tomás