Thread

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

    zengman <zengman@halodbtech.com> — 2025-12-22T14:48:37Z

    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