-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to exclude by application name on txn_* checks #78
base: master
Are you sure you want to change the base?
Conversation
You need to check the PostgreSQL version because the "application_name" was introduced in 9.0 version. |
Yes, you are right there. I guess we could just ignore the whole --{exclude|include}app options if they are running a version older then 9.0, and add in the docs that this is only available for PostgreSQL >= 9.0 The other option would be to fail with an error message on older versions. I really don't like that. And the user should read the docs first. |
long idle in transaction. Good for filtering applications like pg_dump, but also others without having to run them with a specific user.
that haven't been set and are needed.
… it's hard, or imposible to know which index is bloated if there are indexes with the same name in different schemas. Here we add the schema to the bloat message when finding bloat in indexes.
Newer versions will show the last or current query here, older versions will just show "<IDLE> in transaction" if there is currently no query running.
... and note author of last commit in changelog
set_translations.pl only wrote output for languages seen in .po files, dropping other previously known languages. Also, fix output to honor the current indentation style (no tabs). In order to change the current formatting as little as possible, set the minimal output key output width to 14, and no not append a space after 'key' ('checkcluster-nomrtg' is otherwise too long).
…eruser. The wrapper function around pg_ls_dir() must hardcode the pg_xlog or pgxlog/archive_status path, and should take no arguments. It must be created as a superuser with SECURITY DEFINER.
In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790231, Daniel Schepler reports pbuilder (a throwaway-minimal-chroot build wrapper for Debian packages) to setup the filesystem name to be shown as "-". Allow this in the testsuite.
2 chsets: