agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Adrian Klaver <adrian.klaver@aklaver.com>
To: Günce Kaya <guncekaya14@gmail.com>
To: Charles Clavadetscher <clavadetscher@swisspug.org>
Cc: pgsql-general@postgresql.org
Subject: Re: Fwd: parameter type is unknown error
Date: Mon, 6 Mar 2017 06:12:59 -0800
Message-ID: <4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com> (raw)
In-Reply-To: <CAAV2-mX-+TD6Cg8HQL=YynH4Wp1otuqDY6SB0F-pWNVvBS74dg@mail.gmail.com>
References: <CAAV2-mXSDs-hHVyeE7XWd4oSqM7MXQ7o2T+kyYBE2kgh6KmYJQ@mail.gmail.com>
<CAAV2-mX-Kj377sA4bv_Gr+Zi2ZFynPtWiyUWSzSpRO=RxN+eYw@mail.gmail.com>
<000401d29670$10e9d870$32bd8950$@swisspug.org>
<CAAV2-mXrrn8NaF3X8VR0P7kQLA9eUzphe1Vv9acgon_S4VKsgw@mail.gmail.com>
<001b01d29674$4b8c62f0$e2a528d0$@swisspug.org>
<CAAV2-mX-+TD6Cg8HQL=YynH4Wp1otuqDY6SB0F-pWNVvBS74dg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
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.klaver@aklaver.com
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
view thread (14+ messages) latest in thread
Message-ID: <4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com>
Permalink: ../4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com/
Also on: postgresql.org/message-id/4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@aklaver.com, guncekaya14@gmail.com, clavadetscher@swisspug.org, pgsql-general@postgresql.org
Subject: Re: Fwd: parameter type is unknown error
In-Reply-To: <4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox