postgresql/contrib/pg_stat_statements
Michael Paquier bca96ddab5 Fix crash of pg_stat_statements_info() without library loaded
Other code paths are already protected against this case, and _PG_init()
warns about that in pg_stat_statements.c.  While on it, I have checked
the other extensions of the tree but did not notice any holes.

Oversight in 9fbc3f3.

Author: Jaime Casanova
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/CAJKUy5gF4=_=qhJ1VX_tSGFfjKHb9BvzhRYWSApJD=Bfwp2SBw@mail.gmail.com
2021-01-28 16:22:34 +09:00
..
expected pg_stat_statements: Track number of times pgss entries were deallocated. 2020-11-26 21:18:05 +09:00
sql pg_stat_statements: Track number of times pgss entries were deallocated. 2020-11-26 21:18:05 +09:00
.gitignore
Makefile pg_stat_statements: Track number of times pgss entries were deallocated. 2020-11-26 21:18:05 +09:00
pg_stat_statements--1.0--1.1.sql
pg_stat_statements--1.1--1.2.sql
pg_stat_statements--1.2--1.3.sql
pg_stat_statements--1.3--1.4.sql
pg_stat_statements--1.4--1.5.sql
pg_stat_statements--1.4.sql
pg_stat_statements--1.5--1.6.sql
pg_stat_statements--1.6--1.7.sql
pg_stat_statements--1.7--1.8.sql
pg_stat_statements--1.8--1.9.sql pg_stat_statements: Track time at which all statistics were last reset. 2020-12-18 10:49:58 +09:00
pg_stat_statements.c Fix crash of pg_stat_statements_info() without library loaded 2021-01-28 16:22:34 +09:00
pg_stat_statements.conf
pg_stat_statements.control pg_stat_statements: Track number of times pgss entries were deallocated. 2020-11-26 21:18:05 +09:00