Releases: dalibo/pg_activity
pg_activity 3.6.1
Fixed
- Fix
--hide-queries-in-logs
to also disable log_statements when it is used
(Kouber Saparev). - Fix deprecated syntax of the
license
field in packaging metadata; require
setuptools version 77.0.0 or higher accordingly. - Remove dummy
setup.py
file.
Full Changelog: v3.6.0...v3.6.1
pg_activity 3.6.0
Added
- The color of cells in the process table can now be customized through the
configuration file. - Add non-negative counterparts of many
--no-...
command-line option, thus
allowing to enable respective feature/behaviour even if disabled in the
configuration. - Add a
y
command to copy focused query to the system clipboard, using
OSC 52 escape sequence (#311). - Add the
xmin
column to the query display (#425).
Fixed
- Fix configuration of the color of
appname
column (#415). - Fix
datetimeutc
column in CSV export showing wrong "minutes" value (#429).
Changed
- Exit with status 0 upon keyboard interrupt.
Removed
- Python 3.8 is no longer supported.
Full Changelog: v3.5.1...v3.6.0
pg_activity 3.5.1
Fixed
- Resolve a warning about usage of a deprecated Python
datetime
API from
Python 3.12. - Resolve setuptools warnings about packages 'pgactivity.profiles' and
'pgactivity.queries' being absent frompackages
configuration by getting
back to setuptools "automatic discovery" (#411).
Misc
- Turn Python warnings into errors when running the test suite.
Full Changelog: v3.5.0...v3.5.1
pg_activity 3.5.0
Added
- The rollback ratio is now displayed in the "global" header (#385).
- Make header's sections display configurable through the
[header]
section of the configuration file. - Configuration profiles can now be defined at
${XDG_CONFIG_HOME:~/.config}/pg_activity/<profile>.conf
or/etc/pg_activity/<profile>.conf
as selected from the command line through--profile <profile>
.
Some built-in profiles are distributed with pg_activity.
Changed
- The help text for
K
action, displayed in the footer, has been rephrased as "terminate underlying session". - Rephrase the help text of
--no-{inst,sys,proc}-info
options and group them into a dedicated section of--help
output.
Fixed
- At startup, do not show a traceback upon failure to connect to PostgreSQL.
- Fix password prompt not shown with psycopg2 backend.
- Fix retrieval of I/O statistics on BSD systems (#393).
- Fix spelling mistakes in the man page.
Removed
- Python 3.7 is no longer supported.
Misc
- Document how to hack on pg_activity in the
README
. - Add a pre-commit configuration.
- Require psycopg >= 3.1 (when using the psycopg backend) to get a more robust
detection of connection password need.
Full Changelog: v3.4.2...v3.5.0
pg_activity 3.4.2
Fixed
- Fix package installation by not installing
tests
anddocs
directories
(#378).
Full Changelog: v3.4.1...v3.4.2
pg_activity 3.4.1
pg_activity 3.4.0
Added
- Improve rendering of the
client
column by possibly abbreviating IP
addresses. - Add support for configuring pg_activity from a configuration file in INI
format and installed at${XDG_CONFIG_HOME:~/.config}/pg_activity.conf
or
/etc/pg_activity.conf
. - Determine which columns to hide from reading the configuration file (
hidden = yes|no
option). - Determine columns width from the configuration file (
width = <positive integer>
option).
Fixed
- Fix a crash when trying to reconnect.
Full Changelog: v3.3.0...v3.4.0
pg_activity 3.3.0
pg_activity 3.2.0
Fixed
-
Handle conversion between PostgreSQL encoding names and Python ones while
decoding thequery
column frompg_stat_activity
with
pg_database.encoding
(#348). -
Fix typos in man pages, spotted by codespell.
Added
-
When using the psycopg backend, set
client_encoding
toauto
if unspecified
in the connection string. This will help getting the appropriate client
encoding from locale settings, even if the connection database has a different
one. -
Fall back to a permissive-but-hopefully-more-robust loader for character type
values if client encoding is reallyascii
, when using the psycopg backend.
Misc.
-
Add compatibility with old humanize (>= 0.5.1), to make packaging easier on
old platforms such as RHEL 8. -
Adjust log messages prefix, removing the "Hint" word and adding the level
name, as we now emit messages for different purposes.
pg_activity 3.1.1
Fixed
- Fix crash on startup with no "connection string" argument and the psycopg
backend #346.