|
Tom Lane wrote: No need for personal attacks. Just because you disagree is no reason to be arrogant. I don't want to get into an "urinating match" with you.postgresbugs <[EMAIL PROTECTED]> writes: And, yes I do understand that for the brief period the environmental variable could possibly be visible on some platforms, but even Windows has the local directive which makes the variable far more secure. In my case, prompting each time for the password is out of the question. There is no human to answer the prompt. I thought the word "deprecated" means there is intent to remove it from use in the future.There is no intention of removing PGPASSWORD, because it is safe and useful *on platforms that do not expose other processes' environment variables*. But it is deprecated and will remain so, because there are too many platforms where this is not true. The user that starts the program may not have any .pgpass file in their home directory. The program may even be started remotely. The password is encrypted and stored and decrypted by the binary and the passed to the script for execution of the standard Postgres utility. The script runs in a process that never opens a visible terminal or process that would be visible to anyone that might even be near the server. Regards, John Griffiths |
- Re: [BUGS] PGPASSWORD postgresbugs
- Re: [BUGS] PGPASSWORD Oliver Jowett
- Re: [BUGS] PGPASSWORD postgresbugs
- Re: [BUGS] PGPASSWORD Oliver Jowett
- Re: [BUGS] PGPASSWORD Andreas Pflug
- Re: [BUGS] PGPASSWORD Oliver Jowett
- Re: [BUGS] PGPASSWORD postgresbugs
- Re: [BUGS] PGPASSWORD John R Pierce
- Re: [BUGS] PGPASSWORD postgresbugs
