Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AF057B5DC65 for ; Fri, 7 Oct 2011 07:41:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 54989-08 for ; Fri, 7 Oct 2011 10:41:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id EB8E9B5DBE3 for ; Fri, 7 Oct 2011 07:41:26 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p97AfQBj078860 for ; Fri, 7 Oct 2011 10:41:26 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p97AfQ4r078859; Fri, 7 Oct 2011 10:41:26 GMT (envelope-from www) Date: Fri, 7 Oct 2011 10:41:26 GMT Message-Id: <201110071041.p97AfQ4r078859@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6243: Strange result of to_date function From: "pasman" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201110/59 X-Sequence-Number: 31329 The following bug has been logged online: Bug reference: 6243 Logged by: pasman Email address: pasman.p@gmail.com PostgreSQL version: 9.1.1 Operating system: WinXP sp3 Description: Strange result of to_date function Details: Hi. This is the result of to_date function: SELECT "data min", to_date("data min",'YYYYMMDD') "20110211144226";"32522-12-09" "20110708202145";"24468-03-15" "20101118110930";"51596-11-15" "20101216120525";"46147-05-31" "20110526093630";"73453-04-05"