Here is a rebased version of the patch for v18 that adds a runtime-computed GUC. As I noted earlier, there still isn't a consensus on this approach. -- nathan
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных