Re: Query performance problem - Mailing list pgsql-sql

From PFC
Subject Re: Query performance problem
Date
Msg-id op.snts28pfth1vuj@localhost
Whole thread Raw
In response to Re: Query performance problem  (Ragnar Hafstað <gnari@simnet.is>)
List pgsql-sql
> DEFAULT applies to INSERTs, NOT NULL applies to UPDATEs too.
In MySQL it applies to both (ie. if you UPDATE to an invalid value, it  
sets it to 'something').
NOT NULL without default is useful when you want to be sure you'll never  
forget to put a value in that column, when there is no meaningful default.  
Also for foreign keys : what would be the default value of a foreign key ?

>
> gnari
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>




pgsql-sql by date:

Previous
From: Ragnar Hafstað
Date:
Subject: Re: Query performance problem
Next
From: Stephan Szabo
Date:
Subject: Re: Query performance problem