Remove publicationcmds.c's expr_allowed_in_node as a function
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 28 Sep 2022 11:47:25 +0000 (13:47 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 28 Sep 2022 11:47:25 +0000 (13:47 +0200)
commitd0b1dbcb98454a353919d789c71c6d9a89e961eb
tree3b2740061a85ac49e18c3c0c0670e67045669a93
parent2e560b974ec7f7e8fe47e765e7c276422015ff3b
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
src/backend/commands/publicationcmds.c