Lothar Behrens <lothar(dot)behrens(at)lollisoft(dot)de> writes:
> When there is a way to optionally add columns to existing tables via
> SQL I have very less development needs to get this working.
Why don't you just issue the ALTER ADD COLUMN and ignore the error
if it's duplicate column?
Or if you don't like that, it's not that hard to look into the system
catalogs and see if the column already exists. A program bright enough
to be issuing dynamic DDL commands ought to be able to do that ...
regards, tom lane