]> granicus.if.org Git - postgresql/commit
Get rid of useless global variable in pg_upgrade.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Jul 2012 05:23:16 +0000 (01:23 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Jul 2012 05:23:16 +0000 (01:23 -0400)
commitebd9e26daa3df6518e3d403ef94a86e33168eae3
tree5de04f1be79246b30abf1c37f0e90433ac4aa8ba
parent3d929dc7b8e982f12c62fecba7d5122bb22fa497
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.
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/relfilenode.c