Re: [HACKERS] Patch proposal: query result history in psql

2013-05-26 Thread Maciej Gajewski
Polished version of the patch. * The feature is disabled by default, enabled by backslash command \ans. Additionaly, \ansclean cleans the result history. * Escaping is applied when building COPY IN string This is patch is a diff between master:230e92c and

Re: [HACKERS] Patch proposal: query result history in psql

2013-05-16 Thread Dimitri Fontaine
Maciej Gajewski maciej.gajews...@gmail.com writes: I find this feature quite useful, but I understand that my use case may be quite unique. Just to say that I too find what you've done quite useful. Please add your patch to the next commit fest for consideration in 9.4! Regards, -- Dimitri

Re: [HACKERS] Patch proposal: query result history in psql

2013-05-16 Thread David E. Wheeler
On May 16, 2013, at 7:02 AM, Dimitri Fontaine dimi...@2ndquadrant.fr wrote: I find this feature quite useful, but I understand that my use case may be quite unique. Just to say that I too find what you've done quite useful. Please add your patch to the next commit fest for consideration in

[HACKERS] Patch proposal: query result history in psql

2013-05-14 Thread Maciej Gajewski
Attached patch contains feature I've implemented for myself, to make working with huge datasets easier. I work with large datasets (1E8 - 1E9 records), and the nature of my work is such that I must dig something out of the data on ad-hoc basis. I spend a lot of time with psql. Sometimes a query