Re: "Unified logging system" breaks access to pg_dump debug outputs

2020-09-17 Thread Tom Lane
Alvaro Herrera writes: > On 2020-Sep-15, Tom Lane wrote: >> After further thought, I concluded that's a clearly superior solution, >> so 0001 attached does it like that. After noting that the enum values >> are in the opposite direction from how I thought they went, I realized >> that "increase_l

Re: "Unified logging system" breaks access to pg_dump debug outputs

2020-09-15 Thread Alvaro Herrera
On 2020-Sep-15, Tom Lane wrote: > I wrote: > > Alternatively, we might consider inventing an additional logging.c > > function pg_logging_increase_level() with the obvious semantics, and > > make the various programs just call that when they see a -v switch. > > That would be a slightly bigger pat

Re: "Unified logging system" breaks access to pg_dump debug outputs

2020-09-15 Thread Tom Lane
I wrote: > Alternatively, we might consider inventing an additional logging.c > function pg_logging_increase_level() with the obvious semantics, and > make the various programs just call that when they see a -v switch. > That would be a slightly bigger patch, but it would more easily support > prog