Dale Seaburg <kg5lt(at)verizon(dot)net> writes:
> Is there a way to make a conditional ALTER TABLE command?
Nope, no such feature. Consider writing a plpgsql function that
contains whatever logic you need.
> As an alternative, how best to tell SQL (Query tool) to continue
> processing a script even if an "error" (like no column exists) is
> encountered.
psql will do that happily enough.
regards, tom lane