1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/lib/pgBackRestTest/Module
David Steele 01c2669b97 Fix exclusions for special files.
Prior to 2.16 the Perl manifest code would skip any file that began with a dot.  This was not intentional but it allowed PostgreSQL socket files to be located in the data directory.  The new C code in 2.16 did not have this unintentional exclusion so socket files in the data directory caused errors.

Worse, the file type error was being thrown before the exclusion check so there was really no way around the issue except to move the socket files out of the data directory.

Special file types (e.g. socket, pipe) will now be automatically skipped and a warning logged to notify the user of the exclusion.  The warning can be suppressed with an explicit --exclude.

Reported by CluelessTechnologist, Janis Puris, Rachid Broum.
2019-08-23 07:47:54 -04:00
..
Backup The local command for backup is implemented entirely in C. 2019-07-25 14:34:16 -04:00
Command Remove per-stanza repo cache clear during testing. 2019-06-04 10:34:19 -04:00
Common Move info file checksum to the end of the file. 2019-08-21 19:45:48 -04:00
Info Remove per-stanza repo cache clear during testing. 2019-06-04 10:34:19 -04:00
Manifest Force PostgreSQL versions to string for newer versions of JSON:PP. 2019-07-05 17:25:01 -04:00
Mock Fix exclusions for special files. 2019-08-23 07:47:54 -04:00
Performance Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
Protocol The archive-push command is implemented entirely in C. 2019-03-29 13:26:33 +00:00
Real The stanza-create/update/delete commands are implemented entirely in C. 2019-08-21 16:26:28 -04:00
Storage Add special file type to storageInfo(). 2019-08-23 07:24:25 -04:00