Skip to content

Commit b735757

Browse files
committed
Remove pg_upgrade function no longer called (dir_matching_filenames).
1 parent b3ad5d0 commit b735757

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

contrib/pg_upgrade/file.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -333,22 +333,6 @@ pg_scandir_internal(const char *dirname,
333333
#endif
334334

335335

336-
/*
337-
* dir_matching_filenames
338-
*
339-
* Return only matching file names during directory scan
340-
*/
341-
int
342-
dir_matching_filenames(const struct dirent * scan_ent)
343-
{
344-
/* we only compare for string length because the number suffix varies */
345-
if (!strncmp(scandir_file_pattern, scan_ent->d_name, strlen(scandir_file_pattern)))
346-
return 1;
347-
348-
return 0;
349-
}
350-
351-
352336
void
353337
check_hard_link(void)
354338
{

contrib/pg_upgrade/pg_upgrade.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ const char *setupPageConverter(pageCnvCtx **result);
333333
typedef void *pageCnvCtx;
334334
#endif
335335

336-
int dir_matching_filenames(const struct dirent * scan_ent);
337336
int pg_scandir(const char *dirname, struct dirent *** namelist,
338337
int (*selector) (const struct dirent *));
339338
const char *copyAndUpdateFile(pageCnvCtx *pageConverter, const char *src,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy