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

psql editor temp file extension

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: psql editor temp file extension
Date: 2011-11-29 04:46:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
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.

Attachment: psql-edit-filename.patch
Description: text/x-patch (655 bytes)


pgsql-hackers by date

Next:From: Pavel StehuleDate: 2011-11-29 04:50:33
Subject: Re: psql editor temp file extension
Previous:From: Peter EisentrautDate: 2011-11-29 04:33:10
Subject: Re: Misleading CREATE TABLE error

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