You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):
0.34.13
ABCI app (name for built-in, URL for self-written if it's publicly available):
Any
Environment:
OS (e.g. from /etc/os-release): OSX
Install tools:
Others:
What happened:
When configuring config.toml to use postgres driver, this will fail to function properly, even if postgres is available and the connection string is valid. This is because there is no postgres driver available.
What you expected to happen:
I would expect tendermint to connect to postgres without further configuration OR very clear instructions that we need to import a postgres driver in our app, e.g. import (_ "github.com/lib/pq")
Have you tried the latest version: yes
How to reproduce it (as minimally and precisely as possible):
Try using the postgres sink without importing a postgres driver in your app.
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
Config (you can paste only the changes you've made):
node command runtime flags:
Please provide the output from the http://<ip>:<port>/dump_consensus_state RPC endpoint for consensus bugs
Anything else we need to know:
The text was updated successfully, but these errors were encountered:
brennhill
changed the title
Postgres Driver
Postgres Driver not available, cannot use postgres sink.
Oct 3, 2021
Sorry for the confusion. I agree that whatever else we do, we should definitely document this requirement more clearly. And, while it is an "optional" dependency, it probably makes sense for the node to include it, since it's the node rather than the application that depends on it.
Tendermint version (use
tendermint version
orgit rev-parse --verify HEAD
if installed from source):0.34.13
ABCI app (name for built-in, URL for self-written if it's publicly available):
Any
Environment:
What happened:
When configuring config.toml to use postgres driver, this will fail to function properly, even if postgres is available and the connection string is valid. This is because there is no postgres driver available.
What you expected to happen:
I would expect tendermint to connect to postgres without further configuration OR very clear instructions that we need to import a postgres driver in our app, e.g.
import (_ "github.com/lib/pq")
Have you tried the latest version: yes
How to reproduce it (as minimally and precisely as possible):
Try using the postgres sink without importing a postgres driver in your app.
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
Config (you can paste only the changes you've made):
node command runtime flags:
Please provide the output from the
http://<ip>:<port>/dump_consensus_state
RPC endpoint for consensus bugsAnything else we need to know:
The text was updated successfully, but these errors were encountered: