DefineCollation() code cleanup

Peter Eisentraut <peter@eisentraut.org>

Commit: e94bb1473eb36e19c200476cebc3750cf6a978e7
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-03-11T07:32:52Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/commands/collationcmds.c modified +57 −52

Discussion