Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2444663249C for ; Sun, 21 Feb 2010 14:18:04 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 40260-09 for ; Sun, 21 Feb 2010 18:17:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6B76B63161C for ; Sun, 21 Feb 2010 14:17:53 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o1LIHptu026201; Sun, 21 Feb 2010 13:17:51 -0500 (EST) To: list_usr@spacebox.net cc: Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: Column is of type date but expression is of type text In-reply-to: <1e11c2271002211000h1a833eeaq4c16983f7ee83c6c@mail.gmail.com> References: <1e11c2271002171814i704d31f4oca1d819dc5a02103@mail.gmail.com> <1e11c2271002181327g52545a34u6a91c5b17cd1fdfd@mail.gmail.com> <1e11c2271002191721hbce2124r189dbecebe78bcd@mail.gmail.com> <1e11c2271002211000h1a833eeaq4c16983f7ee83c6c@mail.gmail.com> Comments: In-reply-to list_usr@spacebox.net message dated "Sun, 21 Feb 2010 13:00:50 -0500" Date: Sun, 21 Feb 2010 13:17:51 -0500 Message-ID: <26200.1266776271@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/40 X-Sequence-Number: 20327 list_usr@spacebox.net writes: > I think the issue was the ordering of the parameters - after your > initial answer to my question I updated the stored procedure so the > ordering of the parameters matched the order that they appeared in the > insert statement. I recreated the stored procedure and continued to > encounter the problem which led me to believe that wasn't the issue. Note that two functions with the same names and differently ordered parameter lists are different objects to Postgres. I think maybe you forgot to drop the first version and it was still getting invoked. regards, tom lane