Re: Support a wildcard in backtrace_functions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Support a wildcard in backtrace_functions
Дата
Msg-id 202403080958.jclw773pws33@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Support a wildcard in backtrace_functions  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Support a wildcard in backtrace_functions  (Jelte Fennema-Nio <me@jeltef.nl>)
Список pgsql-hackers
On 2024-Mar-08, Bharath Rupireddy wrote:

> This works only if '* 'is specified as the only one character in
> backtrace_functions = '*', right? If yes, what if someone sets
> backtrace_functions = 'foo, bar, *, baz'?

It throws an error, as expected.  This is a useless waste of resources:
checking for "foo" and "bar" is pointless, since the * is going to give
a positive match anyway.  And the "baz" is a waste of memory which is
never going to be checked.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"I love the Postgres community. It's all about doing things _properly_. :-)"
(David Garamond)



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

Предыдущее
От: Andy Fan
Дата:
Сообщение: Re: a wrong index choose when statistics is out of date
Следующее
От: "Andrey M. Borodin"
Дата:
Сообщение: Re: speed up a logical replica setup