Get rid of useless global variable in pg_upgrade.

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

Commit: ebd9e26daa3df6518e3d403ef94a86e33168eae3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-07-18T05:23:16Z
Releases: 9.2.0
Get rid of useless global variable in pg_upgrade.

Since the scandir() emulation was taken out of pg_upgrade, there's
no longer any need for scandir_file_pattern to exist as a global
variable.  Replace it with a local in the one remaining function
that was making use of it.

Files

PathChange+/−
contrib/pg_upgrade/pg_upgrade.h modified +0 −1
contrib/pg_upgrade/relfilenode.c modified +9 −10