Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D769F9F9C7F for ; Thu, 4 Oct 2007 05:54:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 35038-10 for ; Thu, 4 Oct 2007 05:54:10 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 7FD339F9C31 for ; Thu, 4 Oct 2007 05:54:13 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id l948sAID051227 for ; Thu, 4 Oct 2007 05:54:10 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id l948aDcZ024442 for pgsql-admin@postgresql.org; Thu, 4 Oct 2007 05:36:13 -0300 (ADT) (envelope-from news) From: yogesh.arora.daffodil@gmail.com X-Newsgroups: pgsql.admin Subject: Re: RAISE NOTICE Date: Thu, 04 Oct 2007 08:36:14 -0000 Organization: http://groups.google.com Lines: 29 Message-ID: <1191486974.507643.134310@o80g2000hse.googlegroups.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Complaints-To: groups-abuse@google.com In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SUMAN1, 1.1 SIFY Complaints-To: groups-abuse@google.com Injection-Info: o80g2000hse.googlegroups.com; posting-host=124.30.27.18; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/20 X-Sequence-Number: 26934 "Ray Madigan" wrote: > I am trying to debug a trigger using raise notice. When I add this line > > raise notice 'A %', 5; > > I get a syntax erreo at or near "A" > > I am using version 8.1.2 > > Thanks > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster Hello Ray, You are using the single Quotes in the notice specified by you........... You must use raise notice ''A %'',5; This is not directly " directly the double quote....it is single quote two times....... Regards, Yogesh Arora