Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
safe_psql() should always raise error on wrong input (issue #52) #53
Conversation
Codecov Report
@@ Coverage Diff @@
## master #53 +/- ##
==========================================
+ Coverage 97.31% 97.31% +<.01%
==========================================
Files 17 17
Lines 1562 1565 +3
==========================================
+ Hits 1520 1523 +3
Misses 42 42
Continue to review full report at Codecov.
|
This PR adds
**kwargs
toPostgresNode.psql()
which allows user to set psql's variables before execution. Moreover,PostgresNode.safe_psql()
will always enableON_ERROR_STOP
, which facilitates error detection in scripts run via-f
option.