Postgresql – PgPool: distro vs upstream

pgpoolpostgresql

I'm running PostgreSQL 9.6 and would like to trial pgpool. The yum repository shows the following options:

  • pgpool-II-96
  • postgresql-pgpool-II

Which version should i use ? The documentation on PgPool references the first option, but I've found posts on here that say I should use the PostgreSQL specific repository.

Also are there any useful tutorials on getting this up and running for a first time user, i find the main documentation at pgpool.net confusing?

When I start pgpool i get the following output.

2018-01-31 17:51:13: pid 41278: DEBUG:  I am 41278
2018-01-31 17:51:13: pid 41278: DEBUG:  initializing backend status
2018-01-31 17:51:13: pid 41278: DEBUG:  authenticate kind = 0
2018-01-31 17:51:13: pid 41278: FATAL:  unable to read data from DB node 0
2018-01-31 17:51:13: pid 41278: DETAIL:  EOF encountered with backend

Best Answer

It just depends on what one you want,

There is no right answer. Likely, I would go with distro-provided version. It's usually better integrated and I value that more than being more up to date.

As for,

FATAL: unable to read data from DB node 0

That's another question, but it sounds like a connectivity issue.