Re: psql and pgpass.conf on Windows

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Kirk Wolak <wolakk(at)gmail(dot)com>
Cc: pf(at)pfortin(dot)com, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psql and pgpass.conf on Windows
Date: 2023-07-01 06:06:57
Message-ID: 20230701060657.xesvncdjkhz7j2at@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wen Yi 2023-07-01 07:10:27 [Beginner Question] How to print the call link graph?
Previous Message Kirk Wolak 2023-07-01 05:40:49 Re: psql and pgpass.conf on Windows