Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtL3f-0002Hq-Ae for pgsql-general@arkaria.postgresql.org; Mon, 11 Feb 2019 23:32:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtL3e-00067A-2F for pgsql-general@arkaria.postgresql.org; Mon, 11 Feb 2019 23:32:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtL3d-00066l-Mo for pgsql-general@lists.postgresql.org; Mon, 11 Feb 2019 23:32:13 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtL3b-0007go-3W for pgsql-general@lists.postgresql.org; Mon, 11 Feb 2019 23:32:12 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 399C199356 for ; Mon, 11 Feb 2019 15:32:09 -0800 (PST) Date: Mon, 11 Feb 2019 15:32:09 -0800 (PST) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Blank, nullable date column rejected by psql In-Reply-To: <9a60f04a-797b-420b-39db-ac139ce8fa23@gmail.com> Message-ID: References: <9a60f04a-797b-420b-39db-ac139ce8fa23@gmail.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 11 Feb 2019, Ron wrote: > NULL is nothing. Blank isn't nothing; blank is a zero-length string.  > Thus, you need to tell Pg "nothing", not "blank string". Ron, All of you who responded drove home my need to explicitly enter null when there are no data for a column. Thanks, Rich