It's not clear from the web site in question that the relevant code is
released under the PostgreSQL license.
As author I allow to use this code in PostgreSQL and under its license.
--
Teodor Sigaev E-mail: teo...@sigaev.ru
frz->t_infomask &= HEAP_XMAX_COMMITTED;
Seems, in last line it should be a bitwise OR instead of AND. Now this line
cleans all bits in t_infomask which later will be copied directly in tuple.
--
Teodor Sigaev
Both 9.6 and 10devel are affected to addiction of query result on seqscan
variable.
Oops, I was too nervious, 9.6 is not affected to enable_seqscan setting. But it
doesn't push down condition too.
--
Teodor Sigaev E-mail: teo...@sigaev.ru
Ah, thanks for the clue about enable_hashjoin, because it wasn't
reproducing for me as stated.
I missed tweaked config, sorry
--
Teodor Sigaev E-mail: teo...@sigaev.ru
WWW: http://www.sigaev.ru/
--
Sent via pgsql-hackers mailing
reproduce (subset of real data but obfucated), queries are in attachment
http://sigaev.ru/misc/exists_to_nested.sql.gz
--
Teodor Sigaev E-mail: teo...@sigaev.ru
WWW: http://www.sigaev.ru/
--query returns 162 rows
explain
and should wait for v11. Opinions?
Obviously, I'm voting for second patch applied to version 10.
--
Teodor Sigaev E-mail: teo...@sigaev.ru
WWW: http://www.sigaev.ru/
--
Sent via pgsql-hackers mailing list (pgsql
it as opaque
type. Except, at least, btree and GiST - they believ that internal pointers are
the same as outer (to heap)
Another dubious part - BitmapScan.
--
Teodor Sigaev E-mail: teo...@sigaev.ru
WWW: http
loops:
-> Materialize (cost=0.00..1.40 rows=1 width=8) (actual time=0.000..0.001
rows=17 loops=1048576)
--
Teodor Sigaev E-mail: teo...@sigaev.ru
WWW: http://www.sigaev.ru/
Timing is on.
DROP TABLE
Ti
2..0.013 rows=2 loops=109061)
(dots hidden the same parts)
As you said, it removes Materialize node, although it's useful here.
If you wish, I can do a test suite, its size will be around 10MB and send it by
private email.
--
Teodor Sigaev E-m
There were old threads about considering a risk factor when estimating
plans, and I'm thinking this issue is the planner failing to do
exactly that.
I'm afraid it's tool late for v10
--
Teodor Sigaev E-mail: teo...@sigaev.ru
BTW, was the larger query plan that you showed (with a Materialize node)
generated by 9.6, or v10 HEAD? Because I would be surprised if 9.6 did
v10,
commit acbd8375e954774181b673a31b814e9d46f436a5
Author: Magnus Hagander <mag...@hagander.net>
Date: Fri Jun 2 11:18:24 2017 +0200
--
did you stumble upon it?
Unfortunately, it's taken from real application.
--
Teodor Sigaev E-mail: teo...@sigaev.ru
WWW: http://www.sigaev.ru/
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to y
801 - 812 of 812 matches
Mail list logo