On 11.09.2017 12:24, Konstantin Knizhnik wrote:
Attached please find rebased version of the patch.
There are the updated performance results (pgbench -s 100 -c 1):
protocol (-M)
| read-write
| read-only (-S)
|
simple
| 3327
| 19325
|
extended
| 2256
| 16908
|
prepared
| 6145
| 39326
|
simple+autoprepare
| 4950
| 34841
|
One more patch passing all regression tests with autoprepare_threshold=1.
I still do not think that it should be switch on by default...
--
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company