pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ALTER TABLE does not raises WARNING/ERROR
4+ messages / 4 participants
[nested] [flat]

* ALTER TABLE does not raises WARNING/ERROR
@ 2003-03-22 11:57 Rajesh Kumar Mallah <mallah@trade-india.com>
  2003-03-22 16:09 ` Re: ALTER TABLE does not raises WARNING/ERROR Stephan Szabo <sszabo@megazone23.bigpanda.com>
  2003-03-22 16:10 ` Re: ALTER TABLE does not raises WARNING/ERROR Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 4+ messages in thread

From: Rajesh Kumar Mallah @ 2003-03-22 11:57 UTC (permalink / raw)
  To: pgsql-sql



If a feild is already NOT NULL
setting it not null with ALTER command
does not issues any warning.

regds
mallah.

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ALTER TABLE does not raises WARNING/ERROR
  2003-03-22 11:57 ALTER TABLE does not raises WARNING/ERROR Rajesh Kumar Mallah <mallah@trade-india.com>
@ 2003-03-22 16:09 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Stephan Szabo @ 2003-03-22 16:09 UTC (permalink / raw)
  To: Rajesh Kumar Mallah <mallah@trade-india.com>; +Cc: pgsql-sql


On Sat, 22 Mar 2003, Rajesh Kumar Mallah wrote:

> If a feild is already NOT NULL
> setting it not null with ALTER command
> does not issues any warning.

I can't really see much point in issuing a warning for
this case.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ALTER TABLE does not raises WARNING/ERROR
  2003-03-22 11:57 ALTER TABLE does not raises WARNING/ERROR Rajesh Kumar Mallah <mallah@trade-india.com>
@ 2003-03-22 16:10 ` Tom Lane <tgl@sss.pgh.pa.us>
  2003-03-22 17:49   ` Re: ALTER TABLE does not raises WARNING/ERROR mallah@trade-india.com
  1 sibling, 1 reply; 4+ messages in thread

From: Tom Lane @ 2003-03-22 16:10 UTC (permalink / raw)
  To: Rajesh Kumar Mallah <mallah@trade-india.com>; +Cc: pgsql-sql

Rajesh Kumar Mallah <mallah@trade-india.com> 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




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ALTER TABLE does not raises WARNING/ERROR
  2003-03-22 11:57 ALTER TABLE does not raises WARNING/ERROR Rajesh Kumar Mallah <mallah@trade-india.com>
  2003-03-22 16:10 ` Re: ALTER TABLE does not raises WARNING/ERROR Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-03-22 17:49   ` mallah@trade-india.com
  0 siblings, 0 replies; 4+ messages in thread

From: mallah@trade-india.com @ 2003-03-22 17:49 UTC (permalink / raw)
  To: tgl@sss.pgh.pa.us; +Cc: mallah@trade-india.com; pgsql-sql



oops sorry!
i too feel the same.

> Rajesh Kumar Mallah <mallah@trade-india.com> 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
>
>
> ---------------------------(end of broadcast)--------------------------- TIP 5: Have you
> checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html



-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-03-22 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-22 11:57 ALTER TABLE does not raises WARNING/ERROR Rajesh Kumar Mallah <mallah@trade-india.com>
2003-03-22 16:09 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2003-03-22 16:10 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-03-22 17:49   ` mallah@trade-india.com

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox