Add to runquery tool: Parameters for query, output file and format for output file. Fix loopquery tool.
CREATE SCHEMA config;
CREATE TABLE config.databases
(
id serial NOT NULL,
name varchar NOT NULL,
host varchar,
port smallint,
dbname varchar,
"user" varchar,
password varchar,
PRIMARY KEY (id),
UNIQUE (name)
);