| From: | Mladen Gogala <gogala(dot)mladen(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: External psql editor |
| Date: | 2022-04-29 19:50:54 |
| Message-ID: | 8d23a17b-ba8d-1e69-7fc5-b551f9df5252@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 4/29/22 13:35, Jan Wieck wrote:
> Not that I know of. \e starts the external editor and you have to save
> and exit that editor to get back to psql in order to execute it. IMHO
> the whole construct has very limited usability.
>
>
> Regards, Jan
Is there a way to define the name of the temporary file created by \e
command? I'd like to name it "afiedt.buf", not for sentimental reasons.
I already have a cron job that cleans afiedt.buf from my home directory
every hour and having psql name temporary file like that would simplify
the cleaning process. The name comes from another database with the same
editor construct as \e. I am actually quite used to that.
Regards
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jan Wieck | 2022-04-29 19:58:37 | Re: External psql editor |
| Previous Message | Reid Thompson | 2022-04-29 19:27:08 | Re: External psql editor |