password error in batch script - Mailing list pgsql-general

From Atul Kumar
Subject password error in batch script
Date
Msg-id CA+ONtZ4FXvvYr0uj4eaQNmaRMV+QE-j0sMpkDAwt1nwfMVkeQQ@mail.gmail.com
Whole thread Raw
Responses Re: password error in batch script  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hi,

I have a password Vl=SO*CIz%A83FQF that is working fine like that in the command prompt but when it is being used in a batch file it is giving me an error of wrong password, the password is something looks like that in batch script.

set "PGPASSWORD=Vl=SO*CIz%A83FQF"

Could you please help me in getting this password read by command prompt in the batch file.



Regards.

pgsql-general by date:

Previous
From: Hellen Jiang
Date:
Subject: Reindex after upgrade from PostgreSQL 12.10 to PostgreSQL 15.3
Next
From: Charly
Date:
Subject: Re: How to improve the performance of my SQL query?