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

From Jim Nasby
Subject Re: psql - better support pipe line
Date
Msg-id 55E1D8D8.2040601@BlueTreble.com
Whole thread Raw
In response to Re: psql - better support pipe line  ("Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>)
List pgsql-hackers
On 8/29/15 8:10 AM, Shulgin, Oleksandr wrote:
>     The other issue is there's no way to capture \conninfo inside of
>     psql and do something with it. If instead this was exposed as a
>     variable, you could handle it in SQL if you wanted to.
>
>
> Yeah, I forgot about the variable proposal, that would be a more useful
> way to expose it for sure.

Right. My only other point is it would be nice if what we exposed there 
could be easily parsed in SQL. But as I said, having *anything* would be 
an improvement.
-- 
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: Jim Nasby
Date:
Subject: Re: Fwd: Core dump with nested CREATE TEMP TABLE
Next
From: Jim Nasby
Date:
Subject: Re: to_json(NULL) should to return JSON null instead NULL