Skip to content
No description, website, or topics provided.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Changelog.md
README.md
pgopher.go

README.md

pgopher

Runs single postgres command in static binary.

Sometimes you just need to run postgres command and don't want to install postgres on machine.

pgopher --host "localhost" --port 5432 -u lnguyen -p lnguyen --database lnguyen-q "create table foo ()"
# Or
pgopher --uri "postgres://lnguyen:lnguyen@localhost:5432/lnguyen" -q "create table foo ()"

Installation

go get github.com/longnguyen11288/pgopher

TODO

Add support for running select query and printing them out

You can’t perform that action at this time.