merge file_exists_in_directory and _fileExistsInDirectory functions and move into common file dumputils.c - Mailing list pgsql-hackers

From Mahendra Singh Thalor
Subject merge file_exists_in_directory and _fileExistsInDirectory functions and move into common file dumputils.c
Date
Msg-id CAKYtNAqwRS7v8QuivAY0EKvgV9bSdNyCVrYYT1WsUNyXjN27vQ@mail.gmail.com
Whole thread Raw
Responses Re: merge file_exists_in_directory and _fileExistsInDirectory functions and move into common file dumputils.c
List pgsql-hackers
Hi,
We have file_exists_in_directory function in pg_restore.c and same
code we are using in _fileExistsInDirectory function in pg_backup_archiver.c
also.
Here, I am attaching a patch to move these duplicate functions into
dumputils.c file

-- 
Thanks and Regards
Mahendra Singh Thalor
EnterpriseDB: http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Capturing both IP address and hostname in the log
Next
From: Mahendra Singh Thalor
Date:
Subject: Re: as per commit 643a1a61985bef2590496, move create/open dir code to function using switch case of pg_backup_directory.c file also