自从PostgreSQL匿名器的版本0.9之后,您就可以在Amazon上使用它了,因为扩展anon还没有添加到Amazon中(由不能安装添加)。目前,我们可以安装0.8.1版的PostgreSQL匿名器。这个问题是为了得到答案,如何执行安装,我将尝试并记录自己。
发布于 2022-01-27 11:36:01
答案主要是这里描述的。我将在这里添加它,以使它更容易找到和理解。
## clone the repo en cd into it
git clone https://gitlab.com/dalibo/postgresql_anonymizer.git
cd ./postgresql_anonymizer
## Checkout the version that allows standalone installation
git checkout 0.8.1
## Create the anon_standalone.sql file
make standalone
## Execute that sql file against your Amazon RDS instance
psql -h <host> -U <username> -d <database-name> -a -f anon_standalone.sqlhttps://dba.stackexchange.com/questions/306661
复制相似问题