Re: psql editor temp file extension

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql editor temp file extension
Date: 2011-11-29 04:50:33
Message-ID: CAFj8pRAU02udyvOU9YGZoGR8eLkFGLUfgaYws0SBoPMrzHo5pQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2011/11/29 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> There was a question recently on a user list about how to configure an
> editor to handle psql's editor temp files as SQL files.  While this is
> doable with an advanced editor by reverse-engineering the file pattern
> than psql uses, it would be easier if psql just added an extension
> ".sql".  Since both uses (\e and \ef) are actually SQL files, this
> should not be a problem.  So I propose the attached patch.

+1

Pavel
>
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavan Deolasee 2011-11-29 04:51:40 Re: Avoiding repeated snapshot computation
Previous Message Peter Eisentraut 2011-11-29 04:46:02 psql editor temp file extension