Re: Whan is it safe to mark a function PARALLEL SAFE?

Поиск
Список
Период
Сортировка
От Jim Finnerty
Тема Re: Whan is it safe to mark a function PARALLEL SAFE?
Дата
Msg-id 1568032961628-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: Whan is it safe to mark a function PARALLEL SAFE?  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-general
The scenario is a STABLE function that calls out to an AWS service that
charges micro pennies per row, so periodically inserting
CHECK_FOR_INTERRUPTS() should be able to prevent charges from accumulating
for a  statement that has already failed in another parallel worker.

I think it's safe to declare such functions as PARALLEL SAFE.  Thank you!



-----
Jim Finnerty, AWS, Amazon Aurora PostgreSQL
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html



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

Предыдущее
От: nikhil raj
Дата:
Сообщение: Re: database "cdf_100_1313" does not exist
Следующее
От: Dan Livingston
Дата:
Сообщение: Re: database "cdf_100_1313" does not exist