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

2006-03-29 Thread Steve Woodcock
On 21/03/06, Bruce Momjian pgman@candle.pha.pa.us wrote:
 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.

Yeah it's good; stores multiline queries in .psql_history which is an
improvement over my patch.

Cheers, Steve

---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faq


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

2006-03-21 Thread Bruce Momjian
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. +

---(end of broadcast)---
TIP 6: explain analyze is your friend