Skip to content

Allow FB-known macros in replication.conf #7294

@pavel-zotov

Description

@pavel-zotov

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions