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 1gtLCI-0002iH-PF for pgsql-general@arkaria.postgresql.org; Mon, 11 Feb 2019 23:41:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtLCH-00069n-75 for pgsql-general@arkaria.postgresql.org; Mon, 11 Feb 2019 23:41:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtLCG-00069g-Sd for pgsql-general@lists.postgresql.org; Mon, 11 Feb 2019 23:41:08 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtLCE-0001nx-Nu for pgsql-general@lists.postgresql.org; Mon, 11 Feb 2019 23:41:08 +0000 Received: by mail-ot1-x32f.google.com with SMTP id i20so1382248otl.0 for ; Mon, 11 Feb 2019 15:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=93vg/xdhTPFX67i/aNX9vCquJJ6rgM1MucU8GiTPdF8=; b=P0jIzWgWF5N55zTxDjo4F/mcGoV1k3PSNvBhhgTw8bLh8tXsZooiWkesQu4C+xAG1J PmZq7Or34Ie+LtqQESC66etYJ/BS0tcPcCGUS/AI91C01euZKj4R3czglUTa5hTFjVxS sVBHv41PNE8cfvwpPQhhKaJIq8J64j0CsNI6H25KS8EbeuQETC/Sb4ecQWAuz1Iy3ae3 hAT36MTb3Pn4woHA67nK4XLGG1Fl2tqNEl+fUNBecCq8mE5O/gqKHzF2RSWKvwmLtmre dqU7G8/QDTnLmmNZy17wbDbS2tidXqSmXS4yBCs0IQdYUo22GboiNdfCsIXldUqCVhF0 bAgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=93vg/xdhTPFX67i/aNX9vCquJJ6rgM1MucU8GiTPdF8=; b=NSdxhDHxLMPBV6XbTc58bXYwOfzaOWc9p2cKx2kCveR/0j+g/Fmrp23Q3OafXEFLFw 5pcd4h8B0B6+XAC5QC/Nm08Vz1JxOYuhYFro4WunjZHOLT9cFMkMc1WGeUYvGkF8etci KsPj5x3V9U7svSAcxHkks8txr1juKlqSuaaIgjnVqI4To47stEUxQUrsnOAlX4yf5Xts 4OvLXOkhZFlleK0lUkzguGR+AfYQa9nlk+t5H+9vKyCf6IqUPq9tdK8IQckagfYrbMs8 rrN9GCpW3KUwTGiOMJJ6/dO6r6vtzTTEUGF7be2uSBxdmQILF+RWUk9bm/Xx/Ve5XB/E mfnA== X-Gm-Message-State: AHQUAuZUnZ1yJHiAoJyIOuj3a84Kgx6Kohshq8CUou1txLnQfxOJbunp wQVMlEZgVpOVL/i4jRwQbE0gpI0i X-Google-Smtp-Source: AHgI3Iaa4RvL4UXa+ZD8ILCJtxHkoWYq2F7Yh3+sgxNEsty7bWIG23zZ6HD7cT3XioHByMJ2LXa1BA== X-Received: by 2002:a05:6830:10d2:: with SMTP id z18mr717619oto.321.1549928464436; Mon, 11 Feb 2019 15:41:04 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id i22sm4941586otl.20.2019.02.11.15.41.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 15:41:03 -0800 (PST) Subject: Re: Blank, nullable date column rejected by psql To: pgsql-general@lists.postgresql.org References: <31297.1549925424@sss.pgh.pa.us> From: Ron Message-ID: Date: Mon, 11 Feb 2019 17:41:02 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/11/19 5:30 PM, Rich Shepard wrote: > On Mon, 11 Feb 2019, Tom Lane wrote: > >> An empty string is not a null. > > Tom, > > I understand this yet thought that empty strings and numeric fields were > accepted. Guess I need to review this. You've got ADOS (All Databases are Oracle Syndrome). -- Angular momentum makes the world go 'round.