How to drop the temporary tables in procedures for the same session.
Because I am facing a problem regarding temporary tables in Postgres Sql. If two procedures:
A() having a temporary table say temp(id, name) B() having a temporary table say temp(id, name, address) then if the procedure A is called first and after that procedure B is called then the temp table remains with the structure i.e. temp(id, name) defined in the procedure A and vice versa and the column "address" as defined in procedure B is not found.