Checks if a column exists in a given table.
table_name¶ (str) – The table where the column has to be checked
column_name¶ (str) – The column to be checked
True if the column exists, False otherwise.
bool
psycopg2.Error – Base exception for all kind of database errors