X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id BAFFDD1B899 for ; Thu, 4 Sep 2003 20:49:53 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 24339-04 for ; Thu, 4 Sep 2003 17:49:23 -0300 (ADT) Received: from smtp1.mts.net (smtp1.mts.net [205.200.16.74]) by svr1.postgresql.org (Postfix) with ESMTP id 1D926D1B99E for ; Thu, 4 Sep 2003 17:49:21 -0300 (ADT) Received: from cleartag (wnpgmb01bbz-ac04-p12-222.mts.net [142.161.12.222]) by smtp1.mts.net (8.12.8p1/8.11.3) with SMTP id h84KnH4q001797; Thu, 4 Sep 2003 15:49:18 -0500 (CDT) Message-ID: <013a01c37326$04174050$740da18e@cleartag> From: "George Weaver" To: "Yaroslav Ulyanov" , References: <010401c372b8$af853f00$800ca8c0@meraqms.ru> Subject: Re: Help me Date: Thu, 4 Sep 2003 15:48:00 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0137_01C372FB.EB7336A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_50_60, REFERENCES X-Spam-Level: X-Archive-Number: 200309/23 X-Sequence-Number: 15001 This is a multi-part message in MIME format. ------=_NextPart_000_0137_01C372FB.EB7336A0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hi Yaroslav, You must set the language as: LANGUAGE 'plpgsql'; Regards, George ----- Original Message -----=20 From: Yaroslav Ulyanov=20 To: pgsql-sql@postgresql.org=20 Sent: Thursday, September 04, 2003 2:46 AM Subject: [SQL] Help me Hello I cannot write new function with local variables (see image in attachment= ). That I do wrong? Best regards, Yaroslav Ulyanov yulyanov@mera.ru=20 ---------------------------------------------------------------------------= --- ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html ------=_NextPart_000_0137_01C372FB.EB7336A0 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
Hi Yaroslav,
 
You must set the language as:
 
  LANGUAGE 'plpgsql';
 
Regards,
George
----- Original Message -----
Fro= m:=20 Yaroslav Uly= anov=20
To: pgsql-sql@postgresql.org
Sent: Thursday, September 04, 2003= 2:46=20 AM
Subject: [SQL] Help me

Hello
 
I cannot write new function with local v= ariables=20 (see image in attachment).
 
That I do wrong?
 
 
Best regards,
Yaroslav Ulyanov
yulyanov@mera.ru



---------------------------(end of=20 broadcast)---------------------------
TIP 5: Have you checked our exte= nsive=20 FAQ?

          &= nbsp;   =20 http://www.postgres= ql.org/docs/faqs/FAQ.html
------=_NextPart_000_0137_01C372FB.EB7336A0--