pgsql: DefineCollation() code cleanup

Started by Peter Eisentrautover 4 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

DefineCollation() code cleanup

Reorganize the code in DefineCollation() so that the parts using the
FROM clause and the parts not doing so are more cleanly separated. No
functionality change intended.

Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: /messages/by-id/29ae752f-80e9-8d31-601c-62cf01cc93d8@enterprisedb.com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/collationcmds.c | 109 ++++++++++++++++++-----------------
1 file changed, 57 insertions(+), 52 deletions(-)