pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: pgsql-general mailing list <pgsql-general@postgresql.org>
Subject: How to get connection details from psql -> \e
Date: Mon, 13 Aug 2018 12:44:15 +0200
Message-ID: <20180813104415.hatiez4soz6jvozp@depesz.com> (raw)

Hi,
I'm trying to work on some extension to vim when invoked as \e from
psql.

To make it fully work, I need to know connection details that psql was
using while it invoked \e.

Is it possible to do in any way, or if not, any chance it could be added
to wishlist for next versions of Pg?

Best regards,

depesz





view thread (5+ messages)  latest in thread

Message-ID: <20180813104415.hatiez4soz6jvozp@depesz.com>
Permalink:  ../20180813104415.hatiez4soz6jvozp@depesz.com/
Also on:    postgresql.org/message-id/20180813104415.hatiez4soz6jvozp@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: depesz@depesz.com
  Subject: Re: How to get connection details from psql -> \e
  In-Reply-To: <20180813104415.hatiez4soz6jvozp@depesz.com>
  References: <20180813104415.hatiez4soz6jvozp@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox