Re: logging "raise" to file

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: wambacher(at)posteo(dot)de
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: logging "raise" to file
Date: 2019-07-28 12:14:34
Message-ID: CAECtzeXTywEq=j2S0woFW+0Dy-8LbruUsMOcR1vb8dPthQeD5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Le dim. 28 juil. 2019 à 12:32, <wambacher(at)posteo(dot)de> a écrit :

> Hi,
>
> is there a way to log output from "raise ..." to a local file? \o file
> does not work (for me).
>

No, RAISE messages can only go to log files. You would need to call a
function that could write to a file (though without calling RAISE).

--
Guillaume.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Georg H. 2019-07-28 13:57:15 Re: logging "raise" to file
Previous Message wambacher 2019-07-28 10:32:41 logging "raise" to file