Re: Fwd: parameter type is unknown error

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Günce Kaya <guncekaya14(at)gmail(dot)com>, Charles Clavadetscher <clavadetscher(at)swisspug(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: parameter type is unknown error
Date: 2017-03-06 14:12:59
Message-ID: 4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On 03/06/2017 04:36 AM, Günce Kaya wrote:
> Hi Charles,
>
> You are right about parameter types. When I use function with cast as
> you mentioned, I don't see "unknown". I see data types. but still
> doesn't insert with my custom function. It's really weird cause I did
> same thing for different function and It works.

If I am following correctly could not the function be eliminated by using?:

insert into cargo.invoice ( orderid, .... ) RETURNING id;

>
> Regards,
>
> Gunce

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Charles Clavadetscher 2017-03-06 14:20:47 Re: Fwd: parameter type is unknown error
Previous Message Samed YILDIRIM 2017-03-06 13:27:10 Re: parameter type is unknown error

Browse pgsql-sql by date

  From Date Subject
Next Message Charles Clavadetscher 2017-03-06 14:20:47 Re: Fwd: parameter type is unknown error
Previous Message Samed YILDIRIM 2017-03-06 13:27:10 Re: parameter type is unknown error