- Rename
sqlog.create_cache()
tosqlog.cache()
; - Introduce automatic cache expiry mechanism through
sqlog.expire_cache()
routine andsqlog.cache_expire_interval
configuration option; - Add
sqlog.today
andsqlog.yesterday
views.
- Allow caching of daily logs.
- Provide PostgreSQL 14 support:
- add
leader_pid
andquery_id
columns tosqlog.log()
output.
- add
- Provide PostgreSQL 13 support:
- add
backend_type
column tosqlog.log()
output; - add WAL usage data to
sqlog.autovacuum()
output.
- add
- Make the functions' security definer, thus allowing roles with lower privileges to use the extension (when granted access to the sqlog schema).
- Add
sqlog.summary()
function, allowing to strip meta data from the query and dispaying just the first N, the last N, or both characters of it.
- Allow querying of slave node logs.
- Optimise
sqlog.autoanalyze()
andsqlog.autovacuum()
routines.
- Fix
sqlog.preparable_query()
regular expression incorrect handling of numbers within database identifiers. - Make
sqlog.autovacuum()
support older PostgreSQL versions all the way down to 9.3.
- Fix
sqlog.preparable_query()
regular expression incorrect handling of timestamps and exotic data types within an IN list.
- Initial version.