X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id AFF6B9DC820 for ; Thu, 19 Jan 2006 09:06:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12705-04 for ; Thu, 19 Jan 2006 09:06:06 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by postgresql.org (Postfix) with ESMTP id 528AF9DC80D for ; Thu, 19 Jan 2006 09:06:01 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 14so194072nzn for ; Thu, 19 Jan 2006 05:06:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JliyeLYQJ1dQ9TvarNhkKajy0bafLiRqiDusLCRhWHIz25f5BhGJClT4sG3TuCaUN47RC9F8nkDjJVLj8BGQU2XyFHFvzcwM4H13myX1gqoRPVTIgzbN9Q+K/Naw/njJ1BSUpmH/f0hEVJGmsHb4DG+bWN8Urzj+iALTle8Xn7o= Received: by 10.64.210.20 with SMTP id i20mr262333qbg; Thu, 19 Jan 2006 05:06:05 -0800 (PST) Received: by 10.65.212.8 with HTTP; Thu, 19 Jan 2006 05:06:05 -0800 (PST) Message-ID: <4f31e3850601190506s71a41cc9t@mail.gmail.com> Date: Thu, 19 Jan 2006 15:06:05 +0200 From: Juris To: Michael Glaesemann Subject: Re: Error calling self-made plpgsql function "function XYZ(bigint) does not exist" Cc: pgsql-sql@postgresql.org In-Reply-To: <324930EE-FCBC-4408-8534-01A00890FB2C@myrealbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4f31e3850601190439s6b00f6bfj@mail.gmail.com> <324930EE-FCBC-4408-8534-01A00890FB2C@myrealbox.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200601/129 X-Sequence-Number: 23918 Argh... big thanks.. did not know what pgAdmin/PG have any case-sensitive issues with functions... Also for fields it is relative... without dbl-quotes i could not query anything (i am using "MySuperField"-like field names) 2006/1/19, Michael Glaesemann : > > On Jan 19, 2006, at 21:39 , Juris wrote: > > > =3D=3D sql begin =3D=3D > > CREATE OR REPLACE FUNCTION "InventGroups_GetAllParents"(int8) > > > select * from InventGroups_GetAllParents(0::int8) > > =3D=3D=3D=3D=3D=3D=3D > > ERROR: function inventgroups_getallparents(bigint) does not exist > > HINT: No function matches the given name and argument types. You may > > need to add explicit type casts. > > If you double-quote your function name (or any identifier) when you > create it, you'll need to double-quote them when you call the > function as well. Try: > > select * from "InventGroups_GetAllParents"(0::int8) > > Michael Glaesemann > grzm myrealbox com > > > >