fix of some issues with multi-line query editing - Mailing list pgsql-patches

From Sergey E. Koposov
Subject fix of some issues with multi-line query editing
Date
Msg-id Pine.LNX.4.44.0603050647060.16830-200000@lnfm1.sai.msu.ru
Whole thread Raw
Responses Re: fix of some issues with multi-line query editing
Re: fix of some issues with multi-line query editing
List 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
http://archives.postgresql.org/pgsql-hackers/2006-03/msg00317.php )

2) Fix the handling of Ctrl+C

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

(partly per
http://archives.postgresql.org/pgsql-hackers/2006-03/msg00297.php )

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 ;(

Regards,
    Sergey

*****************************************************
Sergey E. Koposov
Max Planck Institute for Astronomy
Web: http://lnfm1.sai.msu.ru/~math
E-mail: math@sai.msu.ru




Attachment

pgsql-patches by date:

Previous
From: David Fetter
Date:
Subject: Re: drop if exists remainder
Next
From: Neil Conway
Date:
Subject: Re: reorder GROUP BY list