Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukoc3-00021H-8a for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Jun 2013 04:49:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ukoc2-00005U-F5 for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Jun 2013 04:49:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukmko-0000f3-Lp for pgsql-bugs@postgresql.org; Fri, 07 Jun 2013 02:50:14 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ukmkl-00011P-0n for pgsql-bugs@postgresql.org; Fri, 07 Jun 2013 02:50:14 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukmkj-0001EQ-HD for pgsql-bugs@postgresql.org; Fri, 07 Jun 2013 02:50:10 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1Ukmke-0008Rf-AX for pgsql-bugs@postgresql.org; Fri, 07 Jun 2013 02:50:04 +0000 Date: Fri, 07 Jun 2013 02:50:04 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8216: TO_DATE does not support th format provided To: pgsql-bugs@postgresql.org From: sunitha.mudumba@blss.com.au X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8216 Logged by: Sunitha Mudumba Email address: sunitha.mudumba@blss.com.au PostgreSQL version: 9.2.4 Operating system: Windows Description:=20=20=20=20=20=20=20=20 To_date does not throw an error when an invalid date is provided to it select to_date('10-30-2012','dd-MM-YYYY'); It is not forcing the format on the date, instead it stores 2014-06-14. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs