Re: [PATCH] psql: tab completion for ALTER ROLE ... IN DATABASE ...

From: zengman <zengman(at)halodbtech(dot)com>
To: VASUKI M <vasukianand0119(at)gmail(dot)com>, Ian Lawrence Barwick <barwick(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] psql: tab completion for ALTER ROLE ... IN DATABASE ...
Date: 2025-12-22 14:48:37
Message-ID: tencent_731F08D245343FA3376EF6EA@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

I noticed that in the code, the variables `q_role` and `q_dbname` are processed with the `PQescapeLiteral` function,
so `PQfreemem` – instead of `pfree` – should be used here to free the memory.

--
Regards,
Man Zeng
www.openhalo.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nikita Malakhov 2025-12-22 15:11:20 Re: SQL/JSON json_table plan clause
Previous Message Daniel Gustafsson 2025-12-22 14:10:34 Re: ditaa --svg option is missing when building doc/src/sgml/images