Re: psql: default base and password reading

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adam Osuchowski <adwol(at)polsl(dot)gliwice(dot)pl>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: psql: default base and password reading
Date: 2001-10-12 06:31:15
Message-ID: 24621.1002868275@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Adam Osuchowski <adwol(at)polsl(dot)gliwice(dot)pl> writes:
> in attachment I enclose patch on psql which fix two things:
> 1. If no database was given, template1 is assumed.

That is a very large step backwards from the current behavior (default
to dbname = username). The last thing we want is to encourage people
to use template1 for routine operations.

> 2. Password is reading from terminal (/dev/tty) rather than from
> stdin.

Hmm, that might be a good idea. Comments anyone?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bradley McLean 2001-10-12 14:27:56 Re: psql: default base and password reading
Previous Message Tom Lane 2001-10-12 06:25:14 Re: postgresql-7.1.3 pg_ctl password authentication and startup