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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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