pgsql: Remove publicationcmds.c's expr_allowed_in_node as a function

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove publicationcmds.c's expr_allowed_in_node as a function
Date: 2022-09-28 11:48:06
Message-ID: E1odVXp-002Nqb-Ff@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-09-28 11:59:55 pgsql: Fix alignment problems with SharedInvalSmgrMsg.
Previous Message Michael Paquier 2022-09-28 00:59:09 pgsql: Fix some comments of do_pg_backup_start() and do_pg_backup_stop(