FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.26k stars 217 forks source link

"Macro substitution" can add more? [CORE6514] #6743

Open firebird-automations opened 3 years ago

firebird-automations commented 3 years ago

Submitted by: freeman35 (freeman35)

Hi, In firebird.conf "Macro substitution" can add more? dir_Pro_I = C:\project\A_1 dir_Pro_II = C:\project\A_2 dir_Pro_IV=C:\project\A_4 etc so can use in database.conf my_db_I = $(dir_Pro_I)/pr_2021.fdb my_db_II = $(dir_Pro_II)/pr_II_abc.fdb regards

firebird-automations commented 3 years ago
Modified by: @AlexPeshkoff assignee: Alexander Peshkov \[ alexpeshkoff \]
firebird-automations commented 3 years ago
Modified by: @AlexPeshkoff priority: Major \[ 3 \] =\> Minor \[ 4 \] issuetype: New Feature \[ 2 \] =\> Improvement \[ 4 \]
firebird-automations commented 3 years ago

Commented by: @AlexPeshkoff

Ability of adding user-defined macros may be useful. But better syntax is needed - imagine (with initial example) that we add new config parameter dir_Pro_IV in next version.

firebird-automations commented 3 years ago

Commented by: freeman35 (freeman35)

"But better syntax is needed " Can be define variable style, like in php. start with "$" symbol and / or value be in double queto

$Pro_IV = "C:\project\A_4"

Best regards.