| From: | yogesh(dot)arora(dot)daffodil(at)gmail(dot)com |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: RAISE NOTICE |
| Date: | 2007-10-04 08:36:14 |
| Message-ID: | 1191486974.507643.134310@o80g2000hse.googlegroups.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
"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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | yogesh | 2007-10-04 09:26:07 | Postgres Array Traversing Problem |
| Previous Message | Yogesh Arora | 2007-10-04 07:38:37 | Problem in Accessing Array Element at Position |