Thread: psql command access through libpq/libpq++

psql command access through libpq/libpq++

From
StOo
Date:
just a quick question . Is there any way to call psql commands such as
"\i somefile.txt" through libpq/libpq++.This is so i can execute a bunch
of queries from a file. eg for creating tables.