On 2/2/18 17:05, David G. Johnston wrote:
> What does "an explicit database name is not found" mean?
>
> A name was not supplied to the psql command either as the first
> non-option argument, via the --dbname command line option, in the
> connection URI (possibly indirectly via a pg_service.conf entry), or via
> the PGDATABASE environment variable.
OK, clarified that a bit further. Actually, an environment variable
does not take any effect for this.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services