Thread: pgsql: DefineCollation() code cleanup

pgsql: DefineCollation() code cleanup

From
Peter Eisentraut
Date:
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: https://www.postgresql.org/message-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(-)