when to use NULL and when to NOT NULL DEFAULT '' - Mailing list pgsql-general

From Miles Keaton
Subject when to use NULL and when to NOT NULL DEFAULT ''
Date
Msg-id 59b2d39b04100722222aba715d@mail.gmail.com
Whole thread Raw
Responses Re: when to use NULL and when to NOT NULL DEFAULT ''
List pgsql-general
PG peeps:

What's the prevailing wisdom & best-practice advice about when to let
a varchar (or any) column be NULL, and when to make it NOT NULL
DEFAULT '' (or '0000-00-00' or whatever) - in PostgreSQL?





{Moving to PG from MySQL where we were always advised to use NOT NULL
to save a byte or something.  But that was years ago so sorry for the
stupid-sounding question, but I had to ask.}

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Question from a newbie
Next
From: Brian Morton
Date:
Subject: Re: interfaces for python