Re: protect pg_stat_statements_info() for being used without the library loaded

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: protect pg_stat_statements_info() for being used without the library loaded
Date: 2021-01-28 06:42:56
Message-ID: YBJc8CCvCEitk3Gg@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2021-01-28 06:53:54 Re: protect pg_stat_statements_info() for being used without the library loaded
Previous Message k.jamison@fujitsu.com 2021-01-28 06:33:50 RE: libpq debug log