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 1hpYsG-0005oZ-Oc for pgsql-odbc@arkaria.postgresql.org; Mon, 22 Jul 2019 14:01:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hpYsE-0001Au-E4 for pgsql-odbc@arkaria.postgresql.org; Mon, 22 Jul 2019 14:01:06 +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 1hpYsE-0001An-0u for pgsql-odbc@lists.postgresql.org; Mon, 22 Jul 2019 14:01:06 +0000 Received: from smtp2.ngi.it ([2001:4c91::113]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hpYsB-0008TK-F0 for pgsql-odbc@lists.postgresql.org; Mon, 22 Jul 2019 14:01:05 +0000 Received: from tank.sv.lnf.it (unknown [88.147.114.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp2.ngi.it (Postfix) with ESMTPS id 20E9760D6C for ; Mon, 22 Jul 2019 16:01:00 +0200 (CEST) Authentication-Results: smtp2.ngi.it; dkim=pass (1024-bit key; unprotected) header.d=sv.lnf.it header.i=@sv.lnf.it header.b="PMnXBT94"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sv.lnf.it; s=2017; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+TfDYtXDcMraQ/EFaMpOIg1h16+pPXu5r5dvwlWNHmU=; b=PMnXBT94c9SgFotkzCQp7kiAVU RYsXdyUe1BY9t6qmfZBSmbWHLSdEbE65KlsWwRyZ5BlxFa0el5C8k2OoEcerQp76rgWCQthg9QXPu ShOgrMmXEKJPNPU0MQ0ehkPxUWkG9IPOe5hhIS4HycgsTHGVxmxuEU3b9RLze7eTCSQU=; Received: from [10.5.1.3] (helo=vdmsv1.ad.fvg.lnf.it) by tank.sv.lnf.it with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpYs8-000Dcs-Gx for pgsql-odbc@lists.postgresql.org; Mon, 22 Jul 2019 16:01:00 +0200 Received: from [10.5.1.44] (helo=hermione.sv.lnf.it) by vdmsv1.ad.fvg.lnf.it with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpYs6-0004JP-9E for pgsql-odbc@lists.postgresql.org; Mon, 22 Jul 2019 16:00:58 +0200 Received: by hermione.sv.lnf.it (Postfix, from userid 1000) id 27199A0016C; Mon, 22 Jul 2019 16:00:58 +0200 (CEST) Date: Mon, 22 Jul 2019 16:00:58 +0200 From: Marco Gaiarin To: pgsql-odbc@lists.postgresql.org Subject: Re: ODBC Driver 9->11, troubles with dates/NULL... Message-ID: <20190722140058.GA16016@sv.lnf.it> References: <20190722101953.GF2802@sv.lnf.it> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 'Organization: Associazione La Nostra Famiglia - Polo FVG' 'From: Marco Gaiarin ' User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mandi! Clemens Ladisch In chel di` si favelave... > Why are you mentioning NULL? This is an empty string, which is not a valid date. Correct. but... > Are you sure that the ODBC driver version makes a difference? Yes. With odbc driver 09.XX works as expected. > Where should a valid date value come from, if not from the application? AFAIK in a subsequent query the application add the date. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)