Make T_CoalesceExpr executable on a foreign server

Started by Noname10 months ago1 messageshackers

Thread notes

1 note#performance#minor#enhancement
hackorum-bot#performance#minor#enhancement
hackorum-bot
1 day ago

@global #performance #minor #enhancement

#performance#minor#enhancement
Jump to latest
#1Noname
p.gilev@postgrespro.ru

Hello.
Currently, T_CoalesceExpr is not executable on the foreign server.
This functionality could be useful and the fix appears to be
straightforward.

The proposed modification extends foreign_expr_walker to handle
T_CoalesceExpr node, deparseCoalesceExpr is added to
deparseExpr. A test case for COALESCE is also included.

Regards,
Pavel

Attachments:

t53184_1
coalesce.patchtext/x-diff; name=coalesce.patchDownload+63-0