Hi,
I want to sanitize the name of the schema in a SQL query, because the
schema name depends on the client.
The issue is that I can't sanitize the name via the standard way of
psycopg2, because it adds quotes around schema name.
I imagine it's the same issue with a table name. Do you have a suggestion
to bypass that ?
For now, the most secure way I've found is to test the presence of the
schema before launch each query, but not really efficient.
Regards.
--
Ludovic Gasc (GMLudo)
http://www.gmludo.eu/