Re: [HACKERS] wrapping in extended mode doesn't work well with default pager

2014-07-07 Thread Sergey Muraviov
So what's wrong with the patch? And what should I change in it for 9.5? 2014-07-07 3:12 GMT+04:00 Greg Stark : > On Sun, Jul 6, 2014 at 8:40 AM, Sergey Muraviov > wrote: > > Is there anyone who can commit the patch? > > So what I'm inclined to do here (sigh) is com

Re: [HACKERS] wrapping in extended mode doesn't work well with default pager

2014-07-06 Thread Sergey Muraviov
Hi. Is there anyone who can commit the patch? 2014-06-25 20:17 GMT+04:00 Pavel Stehule : > > > > 2014-06-24 19:45 GMT+02:00 Sergey Muraviov : > > Hi. >> >> Is there any problem with the patch? >> > > I tested it and I had not any issue with last ver

Re: [HACKERS] wrapping in extended mode doesn't work well with default pager

2014-06-24 Thread Sergey Muraviov
the changes to > 9.5 and that gives us more time to be sure we're ok with them. > > > -- > greg > -- Best regards, Sergey Muraviov

Re: [HACKERS] sepgsql: label regression test failed

2014-05-13 Thread Sergey Muraviov
t; Probably, we need to define a domain by ourselves for regression test to > ensure > the test stability, not using the system "unconfined" domain that has > different > meaning by release. > > I'll make a patch. Please wait for a while. > > Thanks for your test &a

[HACKERS] Typo in release notes

2014-05-13 Thread Sergey Muraviov
Hi. Here's a patch that fixes it. -- Best regards, Sergey Muraviov diff --git a/doc/src/sgml/release-9.4.sgml b/doc/src/sgml/release-9.4.sgml index cabfbdd..0b6f383 100644 --- a/doc/src/sgml/release-9.4.sgml +++ b/doc/src/sgml/release-9.4.sgml @@ -1587,7 +1587,7 @@

Re: [HACKERS] wrapping in extended mode doesn't work well with default pager

2014-05-13 Thread Sergey Muraviov
Please check this patch. 2014-05-12 22:56 GMT+04:00 Sergey Muraviov : > Hi. > > I'll try to fix it tomorrow. > > > 2014-05-12 18:42 GMT+04:00 Tom Lane : > > Greg Stark writes: >> > On Mon, May 12, 2014 at 2:12 PM, Greg Stark wrote: >> >> Hm, t

Re: [HACKERS] wrapping in extended mode doesn't work well with default pager

2014-05-12 Thread Sergey Muraviov
's no way to > > indicate wrapping versus newlines. > > Barring anyone complaining that the format changed, I'd say the issue > is not that you added them but that the accounting for line length > fails to include them. > > regards, tom lane > -- Best regards, Sergey Muraviov

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-04-28 Thread Sergey Muraviov
rebased 2014-04-29 7:43 GMT+04:00 Michael Paquier : > On Tue, Apr 29, 2014 at 12:37 PM, Sergey Muraviov > wrote: > > 2014-04-29 5:52 GMT+04:00 Peter Eisentraut : > > > >> Please fix this compiler warning. I think it came from this patch. > >> print.c:

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-04-11 Thread Sergey Muraviov
There were no support for wrapping and old-ascii line style in expanded mode at all. But now they are. 2014-04-11 21:58 GMT+04:00 Alvaro Herrera : > Sergey Muraviov wrote: > > I hope that I realized old-ascii logic correctly. > > I don't know what you changed here, but I do

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-04-11 Thread Sergey Muraviov
| > | : | > | xx : | > | x : | > | xx : | > | xx | > | xx | > | xxx

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-04-11 Thread Sergey Muraviov
Hi. I've done some corrections for printing "newline" and "wrap" indicators. Please review the attached patch. 2014-04-11 0:14 GMT+04:00 Sergey Muraviov : > Hi. > > Thanks for your tests. > > I've fixed problem with headers, but got new o

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-04-10 Thread Sergey Muraviov
The header and data > need to be stepped through in parallel rather than having a loop to > handle the wrapping within the handling of a single line. I don't > really have time for that today but if you can get to it that would be > fine, > -- Best regards, Sergey Muraviov

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-04-08 Thread Sergey Muraviov
pg_regress? > > There's a pset variable to set the target width so at least the > formatting code can be tested. It would be nice to have the ioctl at > least get called on the regression farm so we're sure we aren't doing > something unportable. > > -- > greg > -- Best regards, Sergey Muraviov

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-02-17 Thread Sergey Muraviov
Thanks. 2014-02-17 12:22 GMT+04:00 Emre Hasegeli : > 2014-02-16 18:37, Sergey Muraviov : > > > New code doesn't work with empty strings but I've done minor optimization > > for this case. > > It seems better now. I added some new lines and spaces, removed unnec

Re: [HACKERS] Problem with displaying "wide" tables in psql

2014-02-16 Thread Sergey Muraviov
Hi. Thanks for your review. 2014-02-15 20:08 GMT+04:00 Emre Hasegeli : > Hi, > > This is my review about 3th version of the patch. It is an useful > improvement in my opinion. It worked well on my environment. > > 2013-12-11 17:43:06, Sergey Muraviov : > > It works in e

Re: [HACKERS] extension_control_path

2014-01-30 Thread Sergey Muraviov
Hi. Now it looks fine for me. 2014-01-28 Dimitri Fontaine : > Hi, > > Sergey Muraviov writes: > > Now patch applies cleanly and works. :-) > > Cool ;-) > > > But I have some notes: > > > > 1. There is an odd underscore character in functi

Re: [HACKERS] extension_control_path

2014-01-24 Thread Sergey Muraviov
tion of the required version of the extension. So we can use different versions of extensions in different databases. PS Sorry for my English. 2014/1/24 Fabrízio de Royes Mello > > On Fri, Jan 24, 2014 at 6:57 AM, Dimitri Fontaine > wrote: > > > > Sergey Muraviov writes: >

Re: [HACKERS] extension_control_path

2014-01-23 Thread Sergey Muraviov
rg) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers > > -- Best regards, Sergey Muraviov

Re: [HACKERS] Problem with displaying "wide" tables in psql

2013-12-24 Thread Sergey Muraviov
rint.c:2263: trailing whitespace. > > -- Best regards, Sergey Muraviov From be9f01777599dc5e84c417e5cae56459677a88d4 Mon Sep 17 00:00:00 2001 From: Sergey Muraviov Date: Wed, 11 Dec 2013 20:17:26 +0400 Subject: [PATCH 1/2] wrapped tables in expanded mode ---

Re: [HACKERS] sepgsql: label regression test failed

2013-12-18 Thread Sergey Muraviov
# semodule -l | grep sepgslq sepgsql-regtest 1.07 Full list of modules is in attachment. 2013/12/18 Kohei KaiGai > Could you show me semodule -l on your environment? > I believe security policy has not been changed between F19 and F20... > > Thanks, > > 2013/12/18 Sergey

[HACKERS] sepgsql: label regression test failed

2013-12-18 Thread Sergey Muraviov
Hi I've tried to test postgres 9.3.2 and 9.4devel with selinux on Fedora 20 and met with a label regression test failure. PS I've got some warning during build process. -- Best regards, Sergey Muraviov regression.out Description: Binary data regression.diffs Description: B

Re: [HACKERS] Problem with displaying "wide" tables in psql

2013-12-18 Thread Sergey Muraviov
Hello 2013/12/18 Sameer Thakur > On Wed, Dec 11, 2013 at 11:13 PM, Sergey Muraviov > wrote: > > Hi. > > > > I've improved the patch. > > It works in expanded mode when either format option is set to wrapped > (\pset > > format wrapped), or we hav

Re: [HACKERS] Problem with displaying "wide" tables in psql

2013-12-11 Thread Sergey Muraviov
dfsadf asdf sad f sadf sad fadsf | +-[ RECORD 2 ]-+ | value | afadsafasd fasdf asdfasd | +---+--+ Regards, Sergey 2013/12/10 Jeff Janes > On Mon, Dec 2, 2013 at 10:45 P

Re: [HACKERS] Problem with displaying "wide" tables in psql

2013-12-04 Thread Sergey Muraviov
select and >> copy it entirely. >> And I have to press many keys to find the necessary part of the value. >> There is no such problems with the patch. >> >> >> 2013/12/3 Pavel Stehule >> >>> Hello >>> >>> do you know a pager less

Re: [HACKERS] Problem with displaying "wide" tables in psql

2013-12-03 Thread Sergey Muraviov
Pavel Stehule > Hello > > do you know a pager less trick > > http://merlinmoncure.blogspot.cz/2007/10/better-psql-with-less.html > > Regards > > Pavel Stehule > > > 2013/12/3 Sergey Muraviov > >> Hi. >> >> Psql definitely have a problem with

[HACKERS] Problem with displaying "wide" tables in psql

2013-12-03 Thread Sergey Muraviov
0.00472627} | | histogram_bounds | | | correlation| 1 | | most_common_elems | | | most_common_elem_freqs | | | elem_count_histogram | | +-[ RECORD 3 ]---+-+ Best regards, Sergey Mur