mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Remove pg_upgrade function no longer called (dir_matching_filenames).
This commit is contained in:
parent
b3ad5d02c9
commit
b735757c32
@ -333,22 +333,6 @@ pg_scandir_internal(const char *dirname,
|
|||||||
#endif
|
#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
|
void
|
||||||
check_hard_link(void)
|
check_hard_link(void)
|
||||||
{
|
{
|
||||||
|
@ -333,7 +333,6 @@ const char *setupPageConverter(pageCnvCtx **result);
|
|||||||
typedef void *pageCnvCtx;
|
typedef void *pageCnvCtx;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int dir_matching_filenames(const struct dirent * scan_ent);
|
|
||||||
int pg_scandir(const char *dirname, struct dirent *** namelist,
|
int pg_scandir(const char *dirname, struct dirent *** namelist,
|
||||||
int (*selector) (const struct dirent *));
|
int (*selector) (const struct dirent *));
|
||||||
const char *copyAndUpdateFile(pageCnvCtx *pageConverter, const char *src,
|
const char *copyAndUpdateFile(pageCnvCtx *pageConverter, const char *src,
|
||||||
|
Loading…
Reference in New Issue
Block a user