Re: [HACKERS] psql commandline conninfo

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, List pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] psql commandline conninfo
Date: 2006-12-18 16:58:39
Message-ID: 4586C8BF.5070500@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:
>
>
> Tom Lane wrote:
>> Bruce Momjian <bruce(at)momjian(dot)us> writes:
>>
>>> OK, good to know. Does the patch need documentation too?
>>>
>>
>> Certainly.
>>
>
>
> That's why I haven't committed it yet. I intend to put info in the
> psql manual as well as in the libpq reference.
>>
>>> Are we
>>> deprecating the psql options now duplicated by the new functionality,
>>> like host/port/username/password?
>>>
>>
>> I'd vote not. This is just another way to do it.
>>
>>
>>
>
> I entirely agree. It lets you do some nice things that aren't obvious
> now, like:
>
> psql 'service=foo sslmode=require'
>
>

Patch (Tom's code, my docs) attached.

cheers

andrew

Attachment Content-Type Size
conninfo.patch text/x-patch 5.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-12-18 17:03:45 Re: pg_restore fails with a custom backup file
Previous Message Tom Lane 2006-12-18 16:51:38 Re: pg_restore fails with a custom backup file

Browse pgsql-patches by date

  From Date Subject
Next Message Mike G 2006-12-18 20:32:29 Typo in pg_dump documentation and new suggestion for Release Notes
Previous Message ohp 2006-12-18 14:42:29 Re: unixware and --with-ldap