pgsql: Remove publicationcmds.c's expr_allowed_in_node as a function - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Remove publicationcmds.c's expr_allowed_in_node as a function
Date
Msg-id E1odVXp-002Nqc-GO@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove publicationcmds.c's expr_allowed_in_node as a function

Its API is quite strange, and since there's only one caller, there's no
reason for it to be a separate function in the first place.  Inline it
instead.

Discussion: https://postgr.es/m/20220927124249.4zdzzlz6had7k3x2@alvherre.pgsql

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a60b11327bbd4ae9f661563644a15b0c324f3d9d

Modified Files
--------------
src/backend/commands/publicationcmds.c | 58 +++++++++++++---------------------
1 file changed, 22 insertions(+), 36 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix some comments of do_pg_backup_start() and do_pg_backup_stop(
Next
From: Robert Haas
Date:
Subject: pgsql: Fix alignment problems with SharedInvalSmgrMsg.