diff options
Diffstat (limited to 'test.lua')
-rwxr-xr-x | test.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -58,7 +58,8 @@ do end local utils = require 'lem.utils' -local postgres = require 'lem.postgres' +--local postgres = require 'lem.postgres' +local postgres = require 'lem.postgres.queued' local dbconnstr = [[ host=localhost @@ -69,6 +70,8 @@ dbname=mydb local db = assert(postgres.connect(dbconnstr)) +assert(db:reset()) + assert(db:exec( 'CREATE TEMPORARY TABLE mytable (id serial PRIMARY KEY, name TEXT, foo integer)')) |