mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove pg_upgrade function no longer called (dir_matching_filenames).
This commit is contained in:
@ -333,22 +333,6 @@ pg_scandir_internal(const char *dirname,
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* dir_matching_filenames
|
||||
*
|
||||
* Return only matching file names during directory scan
|
||||
*/
|
||||
int
|
||||
dir_matching_filenames(const struct dirent * scan_ent)
|
||||
{
|
||||
/* we only compare for string length because the number suffix varies */
|
||||
if (!strncmp(scandir_file_pattern, scan_ent->d_name, strlen(scandir_file_pattern)))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
check_hard_link(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user