forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbca96dd
committed
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 checkedthe other extensions of the tree but did not notice any holes.Oversight in9fbc3f3.Author: Jaime CasanovaReviewed-by: Julien RouhaudDiscussion:https://postgr.es/m/CAJKUy5gF4=_=qhJ1VX_tSGFfjKHb9BvzhRYWSApJD=Bfwp2SBw@mail.gmail.com1 parentf854c69 commitbca96dd
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1898 | 1898 |
| |
1899 | 1899 |
| |
1900 | 1900 |
| |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
1901 | 1906 |
| |
1902 | 1907 |
| |
1903 | 1908 |
| |
|
0 commit comments
Comments
(0)