Hi,
Please find attached a patch to take 'make check' code-coverage of COLLATE(/src/backend/commands/collationcmds) from 0% to 96%.
Any feedback is more than welcome. Also posting this to Commitfest-next.--Robins Tharakan