Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

anonymize_table appears to convert table names input to lowercase

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.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

public | Users | table | postgres

>Solution :

Maybe try this:

SELECT anon.anonymize_table('"Users"');
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading