英文:
anonymize_table appears to convert table names input to lowercase
问题
我正在测试在数据库上使用 postgresql-anonymizer 通过 anonymize_table(table_name) 尝试匿名化数据。
但是,当使用命令 SELECT anon.anonymize_table('Users') 时,它返回错误消息:ERROR: column "Users" does not exist。
在使用 /dt 列出表时,我在输出中看到了该表,与预期一致。
public | Users | table | postgres
英文:
I'm testing out using anonymize_table(table_name) via postgresql-anonymizer on a database to attempt to anonymise data.
However, when using the command SELECT anon.anonymize_table('Users'). It returns the error message: ERROR: column "Users" does not exist
When listing the tables with /dt, I see the table in the output as expected.
public | Users | table | postgres
答案1
得分: 1
尝试这样做:
SELECT anon.anonymize_table('Users');
英文:
Maybe try this:
SELECT anon.anonymize_table('"Users"');
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论