Re: Improve psql's handling of multi-line queries

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Steve Woodcock <steve(dot)woodcock(at)gmail(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Improve psql's handling of multi-line queries
Date: 2006-03-21 13:43:08
Message-ID: 200603211343.k2LDh8n14813@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Steve Woodcock wrote:
> Hi all,
>
> Attached is a patch for the following TODO item:
>
> o Improve psql's handling of multi-line queries
>
> Currently, while \e saves a single query as one entry, interactive
> queries are saved one line at a time. Ideally all queries
> whould be saved like \e does.
>
> I know now's probably not a good time, but it caught my eye and looked
> easy enough even for my rusty C.
>
> Regards, Steve Woodcock

Steve, we have already applied a patch by Sergey E. Koposov to do this.
Would you review CVS HEAD and see that everything works as you would
like. Thanks.

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-03-21 13:54:08 Re: be-secure.c patch
Previous Message Bruce Momjian 2006-03-21 13:38:27 Re: fix of some issues with multi-line query editing