Re: psql - better support pipe line - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: psql - better support pipe line
Date
Msg-id 55DC82B9.50108@BlueTreble.com
Whole thread Raw
In response to Re: psql - better support pipe line  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: psql - better support pipe line  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 8/24/15 3:04 PM, Pavel Stehule wrote:
>     (1) there is no reason to believe that the db name and only the db name
>     is needed to do another connection; what about port, host, user, etc?
>
>
> I have to agree - the possibilities is much more than database name - so
> one option is not good idea.

What I've had problems with is trying to correlate psql specified 
connection attributes with things like DBI. It would be nice if there 
was a way to get a fully formed connection URI for the current connection.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Commitfest remaining "Needs Review" items
Next
From: Stephen Frost
Date:
Subject: Re: CREATE POLICY and RETURNING