Re: [HACKERS] new function for tsquery creartion

2017-10-13 Thread Victor Drobny
eral than around(n) so the last one should be based on yours. However, i think, that taking negative parameters is not the best idea because it is confusing. On top of that it is not so necessary and i think it won`t be popular among users. It seems to me that AROUND operator can be easily implemented with <n

Re: [HACKERS] new function for tsquery creartion

2017-09-13 Thread Victor Drobny
On 2017-09-09 06:03, Thomas Munro wrote: Please send a rebased version of the patch for people to review and test as that one has bit-rotted. Hello, Thank you for interest. In the attachment you can find rebased version(based on 69835bc8988812c960f4ed5aeee86b62ac73602a commit) -- Victor Drobny

Re: [HACKERS] Red-Black tree traversal tests

2017-09-08 Thread Victor Drobny
On 2017-09-08 15:23, Thomas Munro wrote: On Fri, Sep 8, 2017 at 9:03 PM, Victor Drobny <v.dro...@postgrespro.ru> wrote: Thank you very much for your review. In the attachment you can find v2 of the patch. FYI this version crashes for me: test test_rbtree ... FAILED

Re: [HACKERS] Red-Black tree traversal tests

2017-09-08 Thread Victor Drobny
uthor. I do encourage you to finish it up. regards, tom lane -- Victor Drobny Postgres Professional: http://www.postgrespro.com The Russian Postgres Companydiff --git a/src/test/modules/Makefile b/src/test/modules/Makefile index 3ce9904..b7ed0af 100644 --- a/src/test/modul

Re: [HACKERS] Red-Black tree traversal tests

2017-08-02 Thread Victor Drobny
I forgot to attach the patch. Sorry. Here it is. -- -- Victor Drobny Postgres Professional: http://www.postgrespro.com The Russian Postgres Companydiff --git a/src/test/modules/Makefile b/src/test/modules/Makefile index 3ce9904..b7ed0af 100644 --- a/src/test/modules/Makefile +++ b/src/test

Re: [HACKERS] Red-Black tree traversal tests

2017-08-02 Thread Victor Drobny
/ Thank you for attention! -- -- Victor Drobny Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] Red-Black tree traversal tests

2017-07-28 Thread Victor Drobny
Hello, Postgres now has its own red-black tree implementation. This tree has 4 types of traversals. In the attachment, you can find module test that checks the correctness of tree traversal strategies. I hope that someone can find it useful. Thank you for attention! -- -- Victor

Re: [HACKERS] pg_dump issues

2017-07-25 Thread Victor Drobny
ion! -- -- Victor Drobny Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

[HACKERS] new function for tsquery creartion

2017-07-19 Thread Victor Drobny
tests and documentation for it. What do you think about it? Thank you very much for the attention! -- -- Victor Drobny Postgres Professional: http://www.postgrespro.com The Russian Postgres Companydiff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index e073f7b..d6fb4ce 100644 --- a/doc/src

Re: [HACKERS] merge psql ef/ev sf/sv handling functions

2017-07-18 Thread Victor Drobny
. It seems good, the of the functions was very similar. I have a question for you. What was the reason to replace "printfPQExpBuffer" by "resetPQExpBuffer" and "appendPQExpBufferStr"? Thank you for attention! -- -- Victor Drobny Postgres Professional: http://

[HACKERS] Authentification method on client side checking

2017-07-09 Thread Victor Drobny
into connection methods of libpq library. Also, this parameter can be specified to psql as a command line argument. The documentation for command line arguments of psql and arguments of libpq methods are also presented. Thank you for attention! Best, -- -- Victor Drobny Postgres Professional: http

[HACKERS] A mistake in a comment

2017-06-26 Thread Victor Drobny
Hello, I believe that I have found a mistake in a comment to parse_phrase_operator function. The comment has the following line: a b (distance is no greater than X) which is not. According to documentation and practical results, this line should me changed on something like: a b (distance