| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr> |
| Cc: | Neil Conway <neilc(at)samurai(dot)com>, pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: psql patch: new host/port without leaving session |
| Date: | 2006-04-02 16:37:02 |
| Message-ID: | 23653.1143995822@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr> writes:
> On Apr 01 07:07, Neil Conway wrote:
>> One question about behavior: in the attached patch, omitting an argument
>> to \connect or specifying "-" are treated equivalently -- the value for
>> that parameter from the previous connection is used, otherwise NULL (for
>> the libpq default). Is this what people want? (One possible complaint is
>> that once you specify a parameter, you can't get back to the libpq
>> default without specifying it explicitly.)
> Won't it be better if we distinguish between "default" and "current"
> value of a parameter with '-' (for the "current") and '+' (for the
> "default") characters? For example:
That seems like a frammish without sufficient use-case. You can always
quit and restart psql to get back to the defaults.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2006-04-02 18:41:38 | [WIP] Add relminxid column to pg_class |
| Previous Message | Volkan YAZICI | 2006-04-02 11:38:12 | Re: psql patch: new host/port without leaving session |