README.md in rails-pg-extras-2.2.0 vs README.md in rails-pg-extras-2.3.0
- old
+ new
@@ -171,11 +171,11 @@
This method displays values for selected PostgreSQL settings. You can compare them with settings recommended by [PGTune](https://pgtune.leopard.in.ua/#/) and tweak values to improve performance.
[More info](https://pawelurbanek.com/postgresql-fix-performance#cache-hit)
-### 'ssl_used'
+### `ssl_used`
```ruby
RailsPGExtras.ssl_used
@@ -554,9 +554,17 @@
RailsPGExtras.kill_all
```
This commands kills all the currently active connections to the database. It can be useful as a last resort when your database is stuck in a deadlock.
+
+### `pg_stat_statements_reset`
+
+```ruby
+RailsPGExtras.pg_stat_statements_reset
+```
+
+This command discards all statistics gathered so far by pg_stat_statements.
### `buffercache_stats`
```ruby
RailsPGExtras.buffercache_stats(args: { limit: 10 })