I can invoke psql like this:
psql postgres://... How can I use pg_dump with a connection string in the format postgres://...?
Would be more convenient than breaking URI's into host, post, username, password.
Is there syntax for this?
pg_dump postgres://username:password@my_postgres_server:5432/databasename I just downloaded a dump using this format. Optionally you can add -f filename to specify a local filename.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With