Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group