From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Greg Stark <stark(at)mit(dot)edu> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: new release pspg |
Date: | 2021-03-21 06:48:40 |
Message-ID: | CAFj8pRBLdoEMGuK19-cTNeva=jJF-MbfeDcu2hVXV2D7TKOCvg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi
ne 21. 3. 2021 v 7:40 odesílatel Greg Stark <stark(at)mit(dot)edu> napsal:
> This is really cool. .... Now I just need to figure out how to
> integrate it with using Emacs for my terminal. I still want to use
> emacs enter and edit my queries but it would be cool to be able to hit
> a key and launch an xterm and send the query output to pspg....
>
a) you can run psql in emacs - and inside psql you can redirect output to
pipe. pspg can run in stream mode and can read data from pipe.
b) pspg can be used as a postgres client - the query can be pasted as a
command line argument.
Maybe stream mode can be enhanced about possibility to read queries from
pipe (not just data like now)
Regards
Pavel
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-03-21 07:13:15 | Re: [PATCH] Identify LWLocks in tracepoints |
Previous Message | Greg Stark | 2021-03-21 06:39:31 | Re: new release pspg |