Re: psql editor temp file extension - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: psql editor temp file extension
Date
Msg-id CAFj8pRAU02udyvOU9YGZoGR8eLkFGLUfgaYws0SBoPMrzHo5pQ@mail.gmail.com
Whole thread Raw
In response to psql editor temp file extension  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
2011/11/29 Peter Eisentraut <peter_e@gmx.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
>


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: psql editor temp file extension
Next
From: Pavan Deolasee
Date:
Subject: Re: Avoiding repeated snapshot computation