Re: psql and pgpass.conf on Windows - Mailing list pgsql-general

From Julien Rouhaud
Subject Re: psql and pgpass.conf on Windows
Date
Msg-id 20230701060657.xesvncdjkhz7j2at@jrouhaud
Whole thread Raw
In response to Re: psql and pgpass.conf on Windows  (Kirk Wolak <wolakk@gmail.com>)
Responses Re: psql and pgpass.conf on Windows
List pgsql-general
On Sat, Jul 01, 2023 at 01:40:49AM -0400, Kirk Wolak wrote:
>
> FWIW, I discovered that psql is case sensitive on the dbname, without
> quoting it!

That's on purpose, since shell quoting behavior is entirely different from SQL.
The quotes are discarded by the shell, so it would otherwise require users
doing something like

psql -d '"MyDbName"'

The behavior is the same for all client tools, and other object arguments like
username.



pgsql-general by date:

Previous
From: Kirk Wolak
Date:
Subject: Re: psql and pgpass.conf on Windows
Next
From: "Wen Yi"
Date:
Subject: [Beginner Question] How to print the call link graph?