agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Charles Clavadetscher <clavadetscher@swisspug.org>
To: 'Adrian Klaver' <adrian.klaver@aklaver.com>
To: 'Günce Kaya' <guncekaya14@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Fwd: parameter type is unknown error
Date: Mon, 6 Mar 2017 15:20:47 +0100
Message-ID: <00de01d29684$e108b760$a31a2620$@swisspug.org> (raw)
In-Reply-To: <4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.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>
<4d7cd214-ff33-5eec-b6ab-0ec305ecf6e2@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Hallo Adrian
> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Adrian Klaver
> Sent: Montag, 6. März 2017 15:13
> To: Günce Kaya <guncekaya14@gmail.com>; Charles Clavadetscher <clavadetscher@swisspug.org>
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Fwd: parameter type is unknown error
>
> 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;
Yes, of course. I assume that this was a simplified example from the OP.
Bye
Charles
> > 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
--
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: <00de01d29684$e108b760$a31a2620$@swisspug.org>
Permalink: ../00de01d29684$e108b760$a31a2620$@swisspug.org/
Also on: postgresql.org/message-id/00de01d29684$e108b760$a31a2620$@swisspug.org
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: clavadetscher@swisspug.org, adrian.klaver@aklaver.com, guncekaya14@gmail.com, pgsql-general@postgresql.org
Subject: Re: Fwd: parameter type is unknown error
In-Reply-To: <00de01d29684$e108b760$a31a2620$@swisspug.org>
* 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