X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CC9A64763B9 for ; Sat, 22 Mar 2003 11:10:55 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 687F84763B2 for ; Sat, 22 Mar 2003 11:10:55 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2MGB0ub000684; Sat, 22 Mar 2003 11:11:00 -0500 (EST) To: Rajesh Kumar Mallah Cc: pgsql-sql@postgresql.org Subject: Re: ALTER TABLE does not raises WARNING/ERROR In-reply-to: <200303221727.59506.mallah@trade-india.com> References: <200303221727.59506.mallah@trade-india.com> Comments: In-reply-to Rajesh Kumar Mallah message dated "Sat, 22 Mar 2003 17:27:59 +0530" Date: Sat, 22 Mar 2003 11:10:59 -0500 Message-ID: <683.1048349459@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-22.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50-cvs X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50-cvs (1.172-2003-02-14-exp) X-Archive-Number: 200303/526 X-Sequence-Number: 12565 Rajesh Kumar Mallah writes: > If a feild is already NOT NULL > setting it not null with ALTER command > does not issues any warning. Why should it? Updating a field to the same value it already has doesn't ordinarily issue a warning in SQL ... regards, tom lane