diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-01-28 16:22:34 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-01-28 16:22:34 +0900 |
commit | bca96ddab57c7c64ce442b0f9f35558741c7f8bd (patch) | |
tree | 70b5ecf0cacbc8bc1636a737965f708255c617c4 /src/backend/access/gist/gistutil.c | |
parent | f854c69a5b36ba7aa85bee9e9590c3e517970156 (diff) | |
download | postgresql-bca96ddab57c7c64ce442b0f9f35558741c7f8bd.tar.gz postgresql-bca96ddab57c7c64ce442b0f9f35558741c7f8bd.zip |
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
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions