Re: PROBLEM: Function does not exist - Mailing list pgsql-general

From Tom Lane
Subject Re: PROBLEM: Function does not exist
Date
Msg-id 21260.1131385955@sss.pgh.pa.us
Whole thread Raw
In response to PROBLEM: Function does not exist  (juleni@livetrade.cz)
List pgsql-general
juleni@livetrade.cz writes:
> Caused by: java.sql.SQLException: ERROR: function update_bf_domain(integer, character varying,
>                                   character varying, timestamp with time zone) does not exist

>       CREATE OR REPLACE FUNCTION UPDATE_BF_DOMAIN
>       (
>          INTEGER,
>          VARCHAR(100),
>          VARCHAR(1024),
>          TIMESTAMP
>       ) RETURNS type_int_timestamp AS '

"timestamp" and "timestamp with time zone" are two different types ...
you probably need to declare the function using the latter.

            regards, tom lane

pgsql-general by date:

Previous
From: juleni@livetrade.cz
Date:
Subject: PROBLEM: Function does not exist
Next
From: Douglas McNaught
Date:
Subject: Re: PROBLEM: Function does not exist