Re: Column is of type date but expression is of type text

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: list_usr(at)spacebox(dot)net
Cc: Kris Jurka <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Column is of type date but expression is of type text
Date: 2010-02-21 18:17:51
Message-ID: 26200.1266776271@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

list_usr(at)spacebox(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message list_usr 2010-02-21 20:32:47 Re: Column is of type date but expression is of type text
Previous Message list_usr 2010-02-21 18:00:50 Re: Column is of type date but expression is of type text