Re: [HACKERS] new function for tsquery creartion

2017-10-13 Thread Victor Drobny
hat operator is more general 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 op

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 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 (test process exited with exit code

Re: [HACKERS] Red-Black tree traversal tests

2017-09-08 Thread Victor Drobny
at it is better to add this checks. I'll set this back to Waiting on Author. 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

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
/1225/ 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
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] new function for tsquery creartion

2017-07-19 Thread Victor Drobny
aches. In the attachment you can find patch with the new features, 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/fun

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

2017-07-18 Thread Victor Drobny
patch. 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: ht

[HACKERS] Authentification method on client side checking

2017-07-09 Thread Victor Drobny
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 i