Which parts of src/backend/nodes/print.c are used?

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Which parts of src/backend/nodes/print.c are used?
Date: 2023-12-04 06:01:42
Message-ID: 7d023c20-6679-44bd-b5f7-44106659bd5a@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

src/backend/nodes/print.c contains a number of functions that print node
types, mostly to stdout. Most of these are not actually used anywhere
in the code. Are they meant to be inserted into the code ad hoc for
debugging? Is anyone using these?

This file has clearly not been updated substantially in a long time, and
functions like print_expr() are clearly outdated.

elog_node_display() and its callees are used, but I suppose these could
be kept locally in postgres.c.

Other than that, is this file still needed?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2023-12-04 06:29:27 RE: [PoC] pg_upgrade: allow to upgrade publisher node
Previous Message Michael Paquier 2023-12-04 05:46:29 Re: Use PGAlignedBlock instead of "char buf[BLCKSZ]" in more places