-
Notifications
You must be signed in to change notification settings - Fork 180
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
psycopg2.errors.InsufficientPrivilege error when using an installation from github #303
Labels
Comments
Hi, Sorry for the delayed answer. |
It should be out soon..ish. |
Hi, Master should fix your problem. The tempfile check is disabled if it fails or if you add |
Feel free to reopen if not. |
Works now, thanks! |
blogh
added a commit
to blogh/pg_activity
that referenced
this issue
Sep 16, 2022
Breaking change: * Attr 18.1 is required Change log: * Add more information to the header (instance and process stats) (Tests by @Krysztophe) * Add the --refresh option to the cli to set the refresh rate (dalibo#293) (Requested by @crysman) * Add the --debug-file option to enable logging (still mostly unused) * Add hints about runtime disabled features (dalibo#300) (Reported by @rutchkiwi) * The SUPERUSER privilege is not longer required (dalibo#277) (Requested by @Raymondmax) Bug fixes: * Add the --no-walreceiver to disable wal receiver stats for Aurora (dalibo#301) (Reported by @grutz) * Add the --no-tempfiles option to disable temp file statistics and add it to the --rds command (dalibo#303) (Reported by @adityabaradwaj) * Fix server information queries for v12/v13 (Reported and fixed by @kmoppel-cognite) * Fix InvalidTextRepresentation errors (dalibo#275) (Fix proposed by @ssharunas) * Fix sort order for parallel queries (dalibo#297) (Reported and fixed by @kmoppel-cognite) * Doc fixes and packaging improvements (@kianmeng, @Vampouille)
Merged
blogh
added a commit
that referenced
this issue
Sep 16, 2022
Breaking change: * Attr 18.1 is required Change log: * Add more information to the header (instance and process stats) (Tests by @Krysztophe) * Add the --refresh option to the cli to set the refresh rate (#293) (Requested by @crysman) * Add the --debug-file option to enable logging (still mostly unused) * Add hints about runtime disabled features (#300) (Reported by @rutchkiwi) * The SUPERUSER privilege is not longer required (#277) (Requested by @Raymondmax) Bug fixes: * Add the --no-walreceiver to disable wal receiver stats for Aurora (#301) (Reported by @grutz) * Add the --no-tempfiles option to disable temp file statistics and add it to the --rds command (#303) (Reported by @adityabaradwaj) * Fix server information queries for v12/v13 (Reported and fixed by @kmoppel-cognite) * Fix InvalidTextRepresentation errors (#275) (Fix proposed by @ssharunas) * Fix sort order for parallel queries (#297) (Reported and fixed by @kmoppel-cognite) * Doc fixes and packaging improvements (@kianmeng, @Vampouille)
blogh
added a commit
to blogh/pg_activity
that referenced
this issue
Sep 16, 2022
Breaking change: * Attr 18.1 is required Change log: * Add more information to the header (instance and process stats) (Tests by @Krysztophe) * Add the --refresh option to the cli to set the refresh rate (dalibo#293) (Requested by @crysman) * Add the --debug-file option to enable logging (still mostly unused) * Add hints about runtime disabled features (dalibo#300) (Reported by @rutchkiwi) * The SUPERUSER privilege is not longer required (dalibo#277) (Requested by @Raymondmax) Bug fixes: * Add the --no-walreceiver to disable wal receiver stats for Aurora (dalibo#301) (Reported by @grutz) * Add the --no-tempfiles option to disable temp file statistics and add it to the --rds command (dalibo#303) (Reported by @adityabaradwaj) * Fix server information queries for v12/v13 (Reported and fixed by @kmoppel-cognite) * Fix InvalidTextRepresentation errors (dalibo#275) (Fix proposed by @ssharunas) * Fix sort order for parallel queries (dalibo#297) (Reported and fixed by @kmoppel-cognite) * Doc fixes and packaging improvements (@kianmeng, @Vampouille)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
sudo $(which pg_activity) --rds [connection_string]
where connection_string is of the format
postgresql://[user[:password]@][netloc][:port][/dbname]
Expected result: connects to the postgres RDS database
Actual result:
Note: this issue does not happen when using the pg_activity installed from the postgresql APT repo:
sudo pg_activity --rds postgresql://[user[:password]@][netloc][:port][/dbname]
The reason I need to install from git is because I am facing this bug (I am able to connect to the db, but the connection drops after about 10 seconds due to the exception
psycopg2.errors.InvalidTextRepresentation: invalid input syntax for type bytea
)It looks like that bug was fixed in May, so I'm assuming the fix didn't get included in the April release of 2.3.1
The text was updated successfully, but these errors were encountered: