protect pg_stat_statements_info() for being used without the library loaded

Jaime Casanova <jcasanov@systemguards.com.ec>

From: Jaime Casanova <jcasanov@systemguards.com.ec>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-01-27T19:53:08Z
Lists: pgsql-hackers

Attachments

Hi,

Attached is a small patch for ${subject}

--
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL

Commits

  1. Fix crash of pg_stat_statements_info() without library loaded