Thread

Commits

  1. Fix crash of pg_stat_statements_info() without library loaded

  1. protect pg_stat_statements_info() for being used without the library loaded

    Jaime Casanova <jcasanov@systemguards.com.ec> — 2021-01-27T19:53:08Z

    Hi,
    
    Attached is a small patch for ${subject}
    
    --
    Jaime Casanova
    Director de Servicios Profesionales
    SystemGuards - Consultores de PostgreSQL
    
  2. Re: protect pg_stat_statements_info() for being used without the library loaded

    Julien Rouhaud <rjuju123@gmail.com> — 2021-01-28T00:49:54Z

    On Thu, Jan 28, 2021 at 3:53 AM Jaime Casanova
    <jcasanov@systemguards.com.ec> wrote:
    >
    > Hi,
    >
    > Attached is a small patch for ${subject}
    
    Good catch, and patch looks good to me.
    
    
    
    
  3. Re: protect pg_stat_statements_info() for being used without the library loaded

    Michael Paquier <michael@paquier.xyz> — 2021-01-28T06:42:56Z

    On Thu, Jan 28, 2021 at 08:49:54AM +0800, Julien Rouhaud wrote:
    > Good catch, and patch looks good to me.
    
    This crashes the server, cash.  Looking at all the other modules in
    the tree, I am not seeing any other hole.  This is new as of 9fbc3f3,
    and I will apply it on HEAD.
    --
    Michael
    
  4. Re: protect pg_stat_statements_info() for being used without the library loaded

    Fujii Masao <masao.fujii@oss.nttdata.com> — 2021-01-28T06:53:54Z

    
    On 2021/01/28 15:42, Michael Paquier wrote:
    > On Thu, Jan 28, 2021 at 08:49:54AM +0800, Julien Rouhaud wrote:
    >> Good catch, and patch looks good to me.
    > 
    > This crashes the server, cash.  Looking at all the other modules in
    > the tree, I am not seeing any other hole.  This is new as of 9fbc3f3,
    > and I will apply it on HEAD.
    
    Thanks!
    
    Regards,
    
    -- 
    Fujii Masao
    Advanced Computing Technology Center
    Research and Development Headquarters
    NTT DATA CORPORATION
    
    
    
    
  5. Re: protect pg_stat_statements_info() for being used without the library loaded

    Michael Paquier <michael@paquier.xyz> — 2021-01-28T07:26:44Z

    On Thu, Jan 28, 2021 at 03:53:54PM +0900, Fujii Masao wrote:
    > Thanks!
    
    No problem.  Applied as of bca96dd.
    --
    Michael