I\'m adding a new, \"NOT NULL\" column to my Postgresql database using the following query (sanitized for the Internet):
ALTER TABLE mytable ADD COLUMN mycol
You either need to define a default, or do what Sean says and add it without the null constraint until you've filled it in on the existing rows.