Re: logging "raise" to file - Mailing list pgsql-general

From Guillaume Lelarge
Subject Re: logging "raise" to file
Date
Msg-id CAECtzeXTywEq=j2S0woFW+0Dy-8LbruUsMOcR1vb8dPthQeD5Q@mail.gmail.com
Whole thread Raw
In response to logging "raise" to file  (wambacher@posteo.de)
List pgsql-general
Hi,

Le dim. 28 juil. 2019 à 12:32, <wambacher@posteo.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.

pgsql-general by date:

Previous
From: wambacher@posteo.de
Date:
Subject: logging "raise" to file
Next
From: "Georg H."
Date:
Subject: Re: logging "raise" to file