@remove-line-for-nolocal@ is dead code

Started by Tom Lane19 days ago1 messages
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

While poking at something else, I noticed that the logic in initdb
about removing "@remove-line-for-nolocal@" from pg_hba.conf is
useless. Since commit f55808828, it's applied unconditionally;
so we might as well just edit that out of pg_hba.conf.sample and
delete the code to do so during initdb.

This won't save any interesting number of cycles of course, but
I think it's confusing to have that decoration in pg_hba.conf.sample
when it doesn't do anything.

Any objection to the attached?

regards, tom lane

Attachments:

0001-remove-dead-code-for-nolocal.patchtext/x-diff; charset=us-ascii; name=0001-remove-dead-code-for-nolocal.patchDownload+3-6