From 8a7affe3a0ac99c7530eaddfab611529cce05424 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Wed, 8 Jun 2022 13:59:49 -0700 Subject: [PATCH] Update default config docs for PSQL indexer settings. (#8728) --- config/toml.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/toml.go b/config/toml.go index 36fa00b7d..0f119db4c 100644 --- a/config/toml.go +++ b/config/toml.go @@ -473,8 +473,14 @@ peer_query_maj23_sleep_duration = "{{ .Consensus.PeerQueryMaj23SleepDuration }}" # 1) "null" # 2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend). # - When "kv" is chosen "tx.height" and "tx.hash" will always be indexed. +# 3) "psql" - the indexer services backed by PostgreSQL. +# When "kv" or "psql" is chosen "tx.height" and "tx.hash" will always be indexed. indexer = "{{ .TxIndex.Indexer }}" +# The PostgreSQL connection configuration, the connection format: +# postgresql://:@:/? +psql-conn = "{{ .TxIndex.PsqlConn }}" + ####################################################### ### Instrumentation Configuration Options ### #######################################################