I want to remove a column belonging to a table. What's the way to determine whether that column is present?
I read the manual page at https://www.postgresql.org/docs/9.2/static/sql-altertable.html, but couldn't locate an example showing this.
I also found Checking whether a SQL Server table contains a column? (https://stackoverflow.com/questions/133031/how-to-check-if-a-column-exists-in-sql-server-table), though that doesn't appear applicable.