Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow FB-known macros in replication.conf #7294

Closed
pavel-zotov opened this issue Sep 7, 2022 · 0 comments
Closed

Allow FB-known macros in replication.conf #7294

pavel-zotov opened this issue Sep 7, 2022 · 0 comments

Comments

@pavel-zotov
Copy link

For QA tasks, it will be useful to have ability to specify macros, say "$(dir_sample)", instead of absolute paths in the replication.conf:

database="$(dir_sample)/qa/dbrepl.fdb"
{
	journal_source_directory="$(dir_sample)/qa/dbmain.fdb.LogArch"
	. . .
}
database="$(dir_sample)/qa/dbmain.fdb"
{
	journal_archive_directory="$(dir_sample)/qa/dbmain.fdb.LogArch"
	. . .
	journal_directory="$(dir_sample)/qa/dbmain.fdb.ReplLog"
}

Currently one need to write absolute path, so replication.conf can not be moved into another place w/o further modifications.

@dyemanov dyemanov self-assigned this Sep 7, 2022
@dyemanov dyemanov changed the title Add ability to specify FB-known macros instead of absolute path in the replication.conf Allow FB-known macros in replication.conf Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants