Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8A18n766401 for ; Sun, 9 Sep 2001 21:08:49 -0400 (EDT) (envelope-from tboring@insight.rr.com) Received: from tim.dynofrog.com (dhcp065-024-230-243.insight.rr.com [65.24.230.243]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f8A14qN08966 for ; Sun, 9 Sep 2001 21:04:52 -0400 (EDT) Subject: Changing column modifiers? From: Tim Boring To: pgsql-admin@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.13 (Preview Release) Date: 09 Sep 2001 21:08:28 -0400 Message-Id: <1000084115.4120.2.camel@tim> Mime-Version: 1.0 X-Archive-Number: 200109/39 X-Sequence-Number: 2139 Can you change a column modifier after you've created the table? For example, I have a table called "authors" with the following columns: authorid, authorfirstname, authorlastname, authormi, statecode, country, born, deceased. When I created the table, I forgot to make the "authorfirstname" and "authorlastname" columns NOT NULL. I've looked at ALTER TABLE but I don't see a way to use it to add NOT NULL...maybe I'm just missing the obvious? Any help/suggestions are appreciated. Thanks, Tim