managedb is now like psql
This commit is contained in:
parent
b24be76507
commit
aa16b89ad9
@ -21,9 +21,10 @@ main() {
|
|||||||
stop)
|
stop)
|
||||||
pg_ctl -D db -l db/logfile stop
|
pg_ctl -D db -l db/logfile stop
|
||||||
;;
|
;;
|
||||||
"")
|
"" | --)
|
||||||
|
[[ $# == 2 ]] && shift
|
||||||
exports
|
exports
|
||||||
psql
|
exec psql "$@"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
>&2 echo "Unknown command: '$*'"
|
>&2 echo "Unknown command: '$*'"
|
||||||
|
Loading…
Reference in New Issue
Block a user