1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/lib/pgBackRest
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
..
Archive Force PostgreSQL versions to string for newer versions of JSON:PP. 2019-07-05 17:25:01 -04:00
Backup The local command for backup is implemented entirely in C. 2019-07-25 14:34:16 -04:00
Check The check command is implemented partly in C. 2019-08-01 20:35:01 -04:00
Common Move info file checksum to the end of the file. 2019-08-21 19:45:48 -04:00
Config Enforce requiring repo-cipher-pass at config parse time. 2019-06-05 11:43:17 -04:00
Protocol The local command for backup is implemented entirely in C. 2019-07-25 14:34:16 -04:00
Storage Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
Db.pm The check command is implemented partly in C. 2019-08-01 20:35:01 -04:00
DbVersion.pm Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded. 2018-10-27 20:00:00 +01:00
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
LibC.pm Remove perl critic and coverage. 2019-07-05 16:55:17 -04:00
LibCAuto.pm Add repo-s3-port option for setting a non-standard S3 service port. 2019-07-25 17:36:51 -04:00
Main.pm The stanza-create/update/delete commands are implemented entirely in C. 2019-08-21 16:26:28 -04:00
Manifest.pm Fix exclusions for special files. 2019-08-23 07:47:54 -04:00
Restore.pm Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
RestoreFile.pm Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
Version.pm Begin v2.17 development. 2019-08-05 12:32:06 -04:00