Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: velog + vereport? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: velog + vereport?
Date
Msg-id [email protected]
Whole thread Raw
In response to velog + vereport?  (Andres Freund <[email protected]>)
Responses Re: velog + vereport?
List pgsql-hackers
Andres Freund <[email protected]> writes:
> When writing code which should be able to run inside and outside a normal 
> backend environment its sometimes useful to be able add a wrapper arround 
> elog/ereport for when executing inside the backend.
> Currently that requires relatively ugly macro surgery and/or recompiling the 
> file. I suggest adding velog/vereport or elog_va/vereport_va to make such 
> wrappers easier (still not easy though).

Um ... and that accomplishes what?  You wouldn't have velog/vereport
outside the backend either.  If you were going to clone those in some
form in the external environment, you might as well clone the existing
elog infrastructure functions.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Deprecating RULES
Next
From: Andres Freund
Date:
Subject: Re: velog + vereport?