Skip to content

Commit e3feb72

Browse files
committed
Fix host/hostname pgpool.conf bug
1 parent 41e6bfe commit e3feb72

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/release_notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Bug Fixes
2+
3+
- Fixed a bug in the template for pgpool that was redirecting all
4+
traffic to the local postgres node, causing a less-than-HA
5+
situation. This is a pretty serious deficiency, so anyone using
6+
this release should upgrade.

jobs/pgpool/templates/config/pgpool.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ reset_query_list = 'ABORT; DISCARD ALL'
3333
pool_passwd = 'passwd'
3434

3535
<% link("db").instances.each_with_index do |instance, i| %>
36-
backend_host<%= i %> = <%= val(instance.address) %>
36+
backend_hostname<%= i %> = <%= val(instance.address) %>
3737
backend_port<%= i %> = <%= val(p('pgpool.backend.port')) %>
3838
<% end %>
3939

0 commit comments

Comments
 (0)