Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb735757

Browse files
committed
Remove pg_upgrade function no longer called (dir_matching_filenames).
1 parentb3ad5d0 commitb735757

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(conststructdirent*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-
return1;
347-
348-
return0;
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
typedefvoid*pageCnvCtx;
334334
#endif
335335

336-
intdir_matching_filenames(conststructdirent*scan_ent);
337336
intpg_scandir(constchar*dirname,structdirent***namelist,
338337
int (*selector) (conststructdirent*));
339338
constchar*copyAndUpdateFile(pageCnvCtx*pageConverter,constchar*src,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp