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

fix of some issues with multi-line query editing

From: "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>
To: pgsql-patches(at)postgresql(dot)org
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, <alvherre(at)commandprompt(dot)com>
Subject: fix of some issues with multi-line query editing
Date: 2006-03-05 03:57:19
Message-ID: (view raw or whole thread)
Lists: pgsql-patches
Fix of several issues:

1) Fix the problems with the \s command. 
When the saveHistory is executed by the \s command we must not do the 
conversion \n -> \x01  (per )

2) Fix the handling of Ctrl+C

Now when you do
wsdb=# select 'your long query here '
and press afterwards the CtrlC the line "select 'your long query here '" 
will be in the history

(partly per )

3) Fix the handling of commands with not closed brackets, quotes, double 
quotes. (now those commands are not splitted in parts...)

4) Fix the behaviour when SINGLELINE mode is used. (before it was almost 
broken ;( 


Sergey E. Koposov
Max Planck Institute for Astronomy
E-mail: math(at)sai(dot)msu(dot)ru

Attachment: multiline.diff
Description: text/plain (4.7 KB)


pgsql-patches by date

Next:From: Neil ConwayDate: 2006-03-05 05:04:34
Subject: Re: reorder GROUP BY list
Previous:From: David FetterDate: 2006-03-05 03:24:07
Subject: Re: drop if exists remainder

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