Re: Query plan with missing timespans

Поиск
Список
Период
Сортировка
От Jason Petersen
Тема Re: Query plan with missing timespans
Дата
Msg-id 4FB6E62B-3876-4D5C-9737-52F23D6693B6@citusdata.com
обсуждение исходный текст
Ответ на Re: Query plan with missing timespans  (Andomar <andomar@aule.net>)
Ответы Re: Query plan with missing timespans
Список pgsql-performance
On Apr 22, 2015, at 1:59 PM, Andomar <andomar@aule.net> wrote:

Is there a way to tell postgres that a function will always return the same result for the same parameter, within the same transaction?

Yup… read over the Function Volatility Categories page and decide which you need. What you’re describing is STABLE (or slightly stricter than STABLE, since STABLE makes that guarantee only for a single statement within a transaction).

--
Jason Petersen
Software Engineer | Citus Data
303.736.9255

Вложения

В списке pgsql-performance по дате отправления:

Предыдущее
От: Andomar
Дата:
Сообщение: Re: Query plan with missing timespans
Следующее
От: Christian Gough
Дата:
Сообщение: Postgresql Host Swapping Hard With Abundant Free Memory