这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ringerc
Copy link
Collaborator

@ringerc ringerc commented Jun 19, 2024

Driver github.com/lib/pq states that it is in maintenance mode.

pgx offers built-in connection pooling and much more, and is actively maintained.

The default URI postgresql:///?sslmode=disable will work out of the box with a unix socket connection, or one can be specified with e.g. -u 'postgres://postgres@:/?sslmode=disable&host=/var/run/postgresql'

It's possible that some driver-specific options may vary, so this merits more testing. It should be possible to make it a CLI option and mark lib/pq deprecated rather than switching immediately, if that is deemed necessary.

Driver github.com/lib/pq states that it is in maintenance mode.

pgx offers built-in connection pooling and much more, and is actively
maintained.

The default URI postgresql:///?sslmode=disable will work out of the box
with a unix socket connection, or one can be specified with e.g.
-u 'postgres://postgres@:/?sslmode=disable&host=/var/run/postgresql'

It's possible that some driver-specific options may vary, so this
merits more testing. It should be possible to make it a CLI option
and mark lib/pq deprecated rather than switching immediately, if that
is deemed necessary.
@ringerc
Copy link
Collaborator Author

ringerc commented Sep 10, 2024

Reverted by e80a810 because of #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants