Hi Marc We managed the same kind of problem in LuaSQL Postgres driver by using a Lua buffer. Take a look at the implementation of conn_escape function at: https://github.com/keplerproject/luasql/blob/master/src/ls_postgres.c Section 28.2 of Programming in Lua - 3rd edition explain a simple use of the buffer API. Regards, Tomás On 2016年05月09日 06:03, Marc Balmer wrote:
FWIW, the discussion that triggered this message is on github: https://github.com/arcapos/luapgsql/issues/26 [1] Links: ------ [1] https://github.com/arcapos/luapgsql/issues/26