Fix pg_upgrade's pg_scandir_internal() to properly handle a NULL
pattern, which is used on PG 9.1 and HEAD (but not pre-9.1). Fixes
crash on Windows.
Backpatched to 9.1.
Reported by Mark Dilger
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/379aa2f5a40c8f46911d9979f3222f8c5abc59b0
Modified Files
--------------
contrib/pg_upgrade/file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)