Re: Accidentally parallel unsafe functions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Accidentally parallel unsafe functions
Дата
Msg-id 20160429231245.GA173958@alvherre.pgsql
обсуждение исходный текст
Ответ на Accidentally parallel unsafe functions  (Andreas Karlsson <andreas@proxel.se>)
Ответы Re: Accidentally parallel unsafe functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Andreas Karlsson wrote:
> Hi,
> 
> I am currently looking into adding the correct parallel options to all
> functions in the extensions and I noticed that some built-in functions seems
> to have been marked as unsafe by accident. The main culprit is
> system_views.sql which redefines these functions and removes the parallel
> safe flag.

Surely CREATE OR REPLACE should keep whatever the flag was, rather than
ovewrite it with a bogus value if not specified?  In other words IMO the
CREATE OR REPLACE code needs changing, not system_views.sql.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: VS 2015 support in src/tools/msvc
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Accidentally parallel unsafe functions