RE: Memory leak fix in psql

Поиск
Список
Период
Сортировка
От tanghy.fnst@fujitsu.com
Тема RE: Memory leak fix in psql
Дата
Msg-id OS0PR01MB6113A19CCF1DA7A988DA492FFB8E9@OS0PR01MB6113.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: Memory leak fix in psql  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Memory leak fix in psql
Список pgsql-hackers
On Wednesday, July 20, 2022 12:52 PM, Michael Paquier <michael@paquier.xyz> wrote:
> What about the argument of upthread where we could use a goto in
> functions where there are multiple pattern validation checks?  Per se
> v4 attached.

Thanks for your kindly remind and modification.
I checked v4 patch, it looks good but I think there can be some minor improvement.
So I deleted some redundant braces around "goto error_return; ".
Also added an error handle section in validateSQLNamePattern.

Kindly to have a check at the attached v5 patch.

Regards,
Tang

Вложения

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