Re: Separating raise notice lines

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Radcon Entec <radconentec(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Separating raise notice lines
Date: 2009-06-24 02:13:53
Message-ID: 4A418BE1.1090608@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Radcon Entec wrote:
> I like to use RAISE NOTICE statements to make sure my functions are working correctly. I just wrote a trigger function that has the following code:

[snip]

> I am trying to insert a carriage return character (chr(10)) in the user name notice so that any subsequent notices will appear on separate lines. However, when I use a query to update a field that will fire this trigger, the Messages tab contains this:

You're apparently not using psql. Normally, notices are printed
one-per-line by psql.

What is the "Messages" tab? in what software?

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Mead 2009-06-24 03:00:40 Re: Replication
Previous Message Craig Ringer 2009-06-24 02:07:29 Re: Replication