pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: list_usr@spacebox.net
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Column is of type date but expression is of type text
Date: Sun, 21 Feb 2010 13:17:51 -0500
Message-ID: <26200.1266776271@sss.pgh.pa.us> (raw)
In-Reply-To: <1e11c2271002211000h1a833eeaq4c16983f7ee83c6c@mail.gmail.com>
References: <1e11c2271002171814i704d31f4oca1d819dc5a02103@mail.gmail.com>
	<alpine.BSO.2.00.1002180017340.30823@leary.csoft.net>
	<1e11c2271002181327g52545a34u6a91c5b17cd1fdfd@mail.gmail.com>
	<alpine.BSO.2.00.1002181708530.7153@leary.csoft.net>
	<1e11c2271002191721hbce2124r189dbecebe78bcd@mail.gmail.com>
	<alpine.BSO.2.00.1002201408440.5133@leary.csoft.net>
	<1e11c2271002211000h1a833eeaq4c16983f7ee83c6c@mail.gmail.com>

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



view thread (12+ messages)  latest in thread

Message-ID: <26200.1266776271@sss.pgh.pa.us>
Permalink:  ../26200.1266776271@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26200.1266776271@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, list_usr@spacebox.net, books@ejurka.com
  Subject: Re: Column is of type date but expression is of type text
  In-Reply-To: <26200.1266776271@sss.pgh.pa.us>
  References: <1e11c2271002171814i704d31f4oca1d819dc5a02103@mail.gmail.com> <alpine.BSO.2.00.1002180017340.30823@leary.csoft.net> <1e11c2271002181327g52545a34u6a91c5b17cd1fdfd@mail.gmail.com> <alpine.BSO.2.00.1002181708530.7153@leary.csoft.net> <1e11c2271002191721hbce2124r189dbecebe78bcd@mail.gmail.com> <alpine.BSO.2.00.1002201408440.5133@leary.csoft.net> <1e11c2271002211000h1a833eeaq4c16983f7ee83c6c@mail.gmail.com> <26200.1266776271@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox