I'm running a batch of postgres queries from a python script. Some queries are as follow:
create table xxx [...]
Usually I get the following error:
psycopg2.ProgrammingError: relation "xxx" already exists
I know that i can manually delete the xxx table, but i ask me if there are a way to avoid this error. Something like delete xxx table if exist.
Thanks