merge file_exists_in_directory and _fileExistsInDirectory functions and move into common file dumputils.c
Mahendra Singh Thalor <mahi6run@gmail.com>
From: Mahendra Singh Thalor <mahi6run@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Andrew Dunstan <andrew@dunslane.net>
Date: 2025-04-10T17:11:33Z
Lists: pgsql-hackers
Attachments
- v01-move-duplicate-code-of-file_exists_in_directory-and-.patch (application/octet-stream) patch v1
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