pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Jagadeesh <mnjagadeesh@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to invoke edtor?
Date: Fri, 10 Oct 2008 10:40:03 -0400
Message-ID: <20081010144003.GA4194@alvh.no-ip.org> (raw)
In-Reply-To: <cdea81d0-340c-4d0c-87a7-07d79ed17749@r15g2000prh.googlegroups.com>
References: <cdea81d0-340c-4d0c-87a7-07d79ed17749@r15g2000prh.googlegroups.com>

Jagadeesh escribió:
> HI,
> 
> how can I invoke editor like vim from postgres? This helps me in
> editing large and complex queries.

Use \e, and make sure EDITOR is set to the editor of your preference.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (5+ messages)  latest in thread

Message-ID: <20081010144003.GA4194@alvh.no-ip.org>
Permalink:  ../20081010144003.GA4194@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20081010144003.GA4194@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, mnjagadeesh@gmail.com
  Subject: Re: how to invoke edtor?
  In-Reply-To: <20081010144003.GA4194@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox