Percona-Lab / pg_tde

MIT License
107 stars 19 forks source link

Use a custom prefix instead of a hardcoded serverid for keys #79

Closed dutow closed 10 months ago

dutow commented 10 months ago

With this change, key names no longer contain the hardcoded serverid, but instead use a user specifiable and optional prefix.

With default settings the prefix is empty, and we generate key names in the format of "-". With a non empty prefix set, the format changes to "--".

The test suite is also modified, so that the existing TAP test uses a custom prefix, and the SQL tests use an empty prefix, to test both cases.