Skip to content

Conversation

@nick-ivanov-edb
Copy link
Contributor

See this Slack discussion https://edb.slack.com/archives/CDTA6PCJV/p1758928515169919

In some cases the path provided is absolute, sometimes it's relative. If the command runs, as assumed, in the Postgres data directory, this makes no difference. However, if the current directory changes at run time, the wrap/unwrap commands will have trouble locating the key file if the relative path were used.

What Changed?

Clarified the conditions under which the wrap/unwrap commands are executed, and the assumptions about the %p variable substitution.

Based on a real customer scenario.

See this Slack discussion https://edb.slack.com/archives/CDTA6PCJV/p1758928515169919

In some cases the path provided is absolute, sometimes it's relative. If the command runs, as assumed, in the Postgres data directory, this makes no difference. However, if the current directory changes at run time, the wrap/unwrap commands will have trouble locating the key file if the relative path were used.
@nick-ivanov-edb nick-ivanov-edb requested a review from a team as a code owner September 29, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant