Re: Rationalizing code-sharing among src/bin/ directories - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Rationalizing code-sharing among src/bin/ directories
Date
Msg-id 28517.1458878142@sss.pgh.pa.us
Whole thread Raw
In response to Re: Rationalizing code-sharing among src/bin/ directories  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Rationalizing code-sharing among src/bin/ directories
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> Not sure if Andres is working on that for now or not, the main
> discussion that I am foreseeing here is how we are going to map elevel
> for the frontend (should FATAL, PANIC exit immediately, etc).

Doesn't seem that complicated to me: elevel >= ERROR results in exit(1),
otherwise just print to stderr and return.  We'd be eyeballing each case
that we remove "#ifndef FRONTEND" from anyway; if it's expecting behavior
noticeably more complicated than that, we could leave it as-is.

> Stability of 9.6 is first and just ahead.

Agreed, this is code cleanup not a high priority.
        regards, tom lane



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Combining Aggregates
Next
From: Amit Kapila
Date:
Subject: Re: Performance degradation in commit 6150a1b0