1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-29 00:21:56 +02:00

Add Perl interface to C PgQuery object.

This validates that all current queries work with the new interface and removes the dependency on DBD::Pg.
This commit is contained in:
David Steele
2019-07-25 17:05:39 -04:00
parent 415542b4a3
commit d8ca0e5c5b
16 changed files with 362 additions and 234 deletions

View File

@ -98,8 +98,7 @@ sub run
$self->optionTestSetBool(CFGOPT_ONLINE, true);
$self->configTestLoad(CFGCMD_STANZA_CREATE);
$self->testException(sub {(new pgBackRest::Stanza())}, ERROR_DB_CONNECT,
"could not connect to server: No such file or directory\n");
$self->testException(sub {(new pgBackRest::Stanza())}, ERROR_DB_CONNECT, "unable to connect to.*");
$self->optionTestSetBool(CFGOPT_ONLINE, false);
}