1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Remove empty subexpression from manifest regular expression.

MacOS was not happy about this though other platforms seemed to work fine.

This was likely a typo or a relic from refactoring.
This commit is contained in:
David Steele 2020-04-14 15:33:43 -04:00
parent 8fb0a8fd6e
commit 0c07c5111f
2 changed files with 18 additions and 1 deletions

View File

@ -14,6 +14,18 @@
<release-list>
<release date="XXXX-XX-XX" version="2.26dev" title="UNDER DEVELOPMENT">
<release-core-list>
<release-bug-list>
<release-item>
<release-item-contributor-list>
<release-item-ideator id="david.raftis"/>
</release-item-contributor-list>
<p>Remove empty subexpression from manifest regular expression.</p>
<p><proper>MacOS</proper> was not happy about this though other platforms seemed to work fine.</p>
</release-item>
</release-bug-list>
<release-improvement-list>
<release-item>
<release-item-contributor-list>
@ -7991,6 +8003,11 @@
<contributor-id type="github">danielwestermann</contributor-id>
</contributor>
<contributor id="david.raftis">
<contributor-name-display>David Raftis</contributor-name-display>
<contributor-id type="github">dpr11</contributor-id>
</contributor>
<contributor id="david.youatt">
<contributor-name-display>David Youatt</contributor-name-display>
<contributor-id type="github">youattd</contributor-id>

View File

@ -843,7 +843,7 @@ manifestBuildCallback(void *data, const StorageInfo *info)
}
// Regular expression constants
#define RELATION_EXP "[0-9]+(|_(fsm|vm)){0,1}(\\.[0-9]+){0,1}"
#define RELATION_EXP "[0-9]+(_(fsm|vm)){0,1}(\\.[0-9]+){0,1}"
#define DB_PATH_EXP \
"(" MANIFEST_TARGET_PGDATA "/(" PG_PATH_GLOBAL "|" PG_PATH_BASE "/[0-9]+)|" MANIFEST_TARGET_PGTBLSPC "/[0-9]+/%s/[0-9]+)"