I'm withdrawing this patch, as the same feature was already implemented in a different patch written by Jacob[1]
Thanks everyone!
Best, Jim
1- https://www.postgresql.org/message-id/flat/CAAWbhmi4V9zEAvfUSCDFx1pOr3ZWrV9fuxkv_2maRqvyc-m9PQ(at)mail(dot)gmail(dot)com#199c1f49fbefa6be401db35f5cfa7742