When the table in postgresql is named after postgres keywords (i.e. user) in order to escape those keywords they are used with quotes (user -> "user"). Because of that, the anonymization process do not properly match the table names that are being provided by command-line argument with available tables from the database. To fix that I added one more step when extracting table names form SQL that removes optional quotes so the table names are matched even for the postgres keywords. The resulting anonymized SQL script will still have proper table names with quotes as table name that this fix affects is only used for potential anonymization method matching.
When the table in postgresql is named after postgres keywords (i.e. user) in order to escape those keywords they are used with quotes (user -> "user"). Because of that, the anonymization process do not properly match the table names that are being provided by command-line argument with available tables from the database. To fix that I added one more step when extracting table names form SQL that removes optional quotes so the table names are matched even for the postgres keywords. The resulting anonymized SQL script will still have proper table names with quotes as table name that this fix affects is only used for potential anonymization method matching.