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

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 (view raw or flat)
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

pgsql-patches by date

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

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