You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@r-pkg:~# echo "select NULL foo from foobar LIMIT 1" | dokku psql:restore_sql cranlogs
ERROR: relation "foobar" does not exist
LINE 1: selectNULL foo from foobar LIMIT 1
^
root@r-pkg:~# echo $?
0
It would be useful to check if the query finished properly. I could also try to parse the output, but it would be simpler to just return the exit code of psql.
The text was updated successfully, but these errors were encountered:
For a table that exists:
For a table that does not exist:
It would be useful to check if the query finished properly. I could also try to parse the output, but it would be simpler to just return the exit code of
psql
.The text was updated successfully, but these errors were encountered: