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

Re: how to invoke edtor?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jagadeesh <mnjagadeesh(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to invoke edtor?
Date: 2008-10-10 14:40:03
Message-ID: 20081010144003.GA4194@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-admin
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.

In response to

Responses

pgsql-admin by date

Next:From: Isabella GhiureaDate: 2008-10-10 17:37:32
Subject: DB novice questions
Previous:From: Tom LaneDate: 2008-10-10 14:00:52
Subject: Re: problem running uui.sql script OSSP-UUID package

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