Clean up unnecessary unportability and compiler warnings by removing the
Tom Lane <tgl@sss.pgh.pa.us>
Clean up unnecessary unportability and compiler warnings by removing the cmp parameter for pg_scandir(). The code failed to support this anyway for Sun/Windows, so pretending we could accept a parameter other than NULL was just asking for trouble.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/file.c | modified | +4 −4 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +2 −2 |
| contrib/pg_upgrade/relfilenode.c | modified | +2 −2 |