Re: Windows psql changes after 8.1.1

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "John DeSoi" <desoi(at)pgedit(dot)com>
Cc: "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Windows psql changes after 8.1.1
Date: 2006-11-24 14:40:09
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA35983@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Hi Magnus,
>
> I did not use PGPASSWORD because the documentation says it is
> not secure.

Well, it says "some operating systems allow non-root users to see
process environment variables via ps". This is very much not the case on
Windows, so I don't beleive there is any problem with it on windows.

> I'll give it a try on Windows. Just curious, why
> is stdin/ stdout insecure if that is what is used for normal
> interactive operation?

It's not used for normal interactive operation. The password is
retreived directly from CON: (just like it does on Unix)

> Could you point me to the file that changed in 8.1.4?

It's src/port/sprompt.c.

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian G. Pflug 2006-11-24 15:21:11 Re: [Replica-hooks-discuss] Integrating Replication ino
Previous Message John DeSoi 2006-11-24 14:25:51 Re: Windows psql changes after 8.1.1