Re: Why overhead of SPI is so large? - Mailing list pgsql-hackers

From Konstantin Knizhnik
Subject Re: Why overhead of SPI is so large?
Date
Msg-id 625ac42b-1610-460a-8644-072e5da1314e@postgrespro.ru
Whole thread Raw
In response to Re: Why overhead of SPI is so large?  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers


On 22.11.2019 11:05, Pavel Stehule wrote:


We should to distinguish  between bad result and not well optimized plan.

If it is not possible to implement runtime check tha timmutable function is not making any changes in database.
Please notice, that even right now without any get snapshot optimization Postgres can produce incorrect result in case of incorrectly specidied immutable or stable qualifiers.


-- 
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: add a MAC check for TRUNCATE
Next
From: Juan José Santamaría Flecha
Date:
Subject: Re: TAP tests aren't using the magic words for Windows file access