Here, I am adding a very basic application:ensure_all_started(pgo). to the instructions to make it more obvious that you need to start the application as well as start the pool in the application's supervisor (or via the shell).
This might be obvious to many, but it wasn't obvious as a newcomer to Erlang. As far as I can tell, pgo is the only PG client that actually explains how to start it which is really nice.
I was trying out
pgo
for the first time and was getting some really difficult and massive error messages. Luckily, I found this: https://erlangforums.com/t/getting-errors-connecting-to-postgresql-reason-for-termination-error-badmatch-undefined/1760.Here, I am adding a very basic
application:ensure_all_started(pgo).
to the instructions to make it more obvious that you need to start the application as well as start the pool in the application's supervisor (or via the shell).This might be obvious to many, but it wasn't obvious as a newcomer to Erlang. As far as I can tell,
pgo
is the only PG client that actually explains how to start it which is really nice.