`bin/manage_users` drops deprecation warning for future node-postgres versions
Open
enhancement
minor
- Dominant language
- JavaScript
- Stars
- 10.1k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, I get the following warning when using the `bin/manage_users` script:
> (node:78) DeprecationWarning: Using the automatically created return value from client.query as an event emitter is deprecated and will be removed in pg@7.0. Please see the upgrade guide at https://node-postgres.com/guides/upgrading
> Using password from commandline...
Contributor guide
Research direction
Start with bin/manage_users and inspect its client.query usage in relation to the reported node-postgres warning. Consult the linked node-postgres upgrade guide and verify the script's behavior; done means it no longer triggers the deprecated event-emitter warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, postgres
- Domain
- cli, database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100