From: Greg Williamson <Gregory.Williamson@digitalglobe.com>
To: Ray Madigan <ray@madigans.org>
Cc: Pgsql-Admin <pgsql-admin@postgresql.org>
Subject: Re: RAISE NOTICE
Date: Wed, 03 Oct 2007 20:26:12 -0700
Message-ID: <47045D54.2070700@digitalglobe.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
>
Ray,
You don't say what form of quoting you are using, but maybe you could
try doubling up those quotes ?
raise notice ''A is %'',5;
HTH,
Greg Williamson
Senior DBA
GlobeXplorer LLC, a DigitalGlobe company
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information and must be protected in
accordance with those provisions. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
(My corporate masters made me say this.)
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: Gregory.Williamson@digitalglobe.com, ray@madigans.org
Subject: Re: RAISE NOTICE
In-Reply-To: <47045D54.2070700@digitalglobe.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