Fix pgindent --show-diff option.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 62e1e28bf76910ffe47ddbc5c1fade41e1a65dac
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2023-01-23T18:50:49Z
Releases: 16.0
Fix pgindent --show-diff option.

At least on my machine, the initial coding of this didn't actually
work, because interpolation of "$post_fh->filename" doesn't act
as intended.

I threw in some double quotes too, just in case anybody tries
to run this in a path containing spaces.

Files

PathChange+/−
src/tools/pgindent/pgindent modified +2 −1