Skip to content

Commit a04fe46

Browse files
authored
Fix missing spaces in long pg_hba.conf lines
In generated pg_hba.conf, fix missing spaces between arguments if an argument is longer than the column width allotted to that argument in the line.
1 parent 69154a7 commit a04fe46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres/templates/pg_hba.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ local all postgres peer
3838
{%- endif %}
3939

4040
{%- endif %}
41-
{{ '{0:<8}{1:<16}{2:<16}{3:<24}{4}'.format(*acl) -}}
41+
{{ '{0:<7} {1:<15} {2:<15} {3:<23} {4}'.format(*acl) -}}
4242
{% endfor %}

0 commit comments

Comments
 (0)