On 10/21/2016 3:03 PM, Alexander Mills wrote:
> sfoc02q106hg8wm:crucible-poc-discovery t_millal$ psql -h
> $(docker-machine ip) -U pguser
> Password for user pguser:
> psql: FATAL: database "pguser" does not exist
>
>
> I gave it the -U option, so why does it say
>
> "database "pguser" does not exist"
you didn't specify a database name, just a host and user. I believe it
defaults to a database named the same as the user if you don't specify it.
--
john r pierce, recycling bits in santa cruz