pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: yogesh.arora.daffodil@gmail.com
To: pgsql-admin@postgresql.org
Subject: Re: RAISE NOTICE
Date: Thu, 04 Oct 2007 08:36:14 -0000
Message-ID: <1191486974.507643.134310@o80g2000hse.googlegroups.com> (raw)
In-Reply-To: <IIEPJABILGOCODDLDNJFMEMCCBAA.ray@madigans.org>
References: <IIEPJABILGOCODDLDNJFMEMCCBAA.ray@madigans.org>


"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




view thread (3+ messages)

Message-ID: <1191486974.507643.134310@o80g2000hse.googlegroups.com>
Permalink:  ../1191486974.507643.134310@o80g2000hse.googlegroups.com/
Also on:    postgresql.org/message-id/1191486974.507643.134310@o80g2000hse.googlegroups.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-admin@postgresql.org
  Cc: yogesh.arora.daffodil@gmail.com
  Subject: Re: RAISE NOTICE
  In-Reply-To: <1191486974.507643.134310@o80g2000hse.googlegroups.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox