]> 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:12 +0000 (01:23 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Jul 2012 05:23:12 +0000 (01:23 -0400)
commitfaf26bf1175530cc97ce3e804ff10dc2be7026d3
tree80d4e8dc2b95c11a7a180996b4d9d0237435efee
parent3d6ec663bb701b7192822f83a6a1cf4f7574d67e
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