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