Обсуждение: bug?
Report bugs to <pgsql-bugs@postgresql.org>. 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" ? thanks! -- Alexander D. Mills (650)269-9502 alexander.d.mills@gmail.com - www.linkedin.com/pub/alexander-mills/b/7a5/418/
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
alrighty then! On Fri, Oct 21, 2016 at 3:36 PM, John R Pierce <pierce@hogranch.com> wrote: > 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 > > -- Alexander D. Mills (650)269-9502 alexander.d.mills@gmail.com - www.linkedin.com/pub/alexander-mills/b/7a5/418/