forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite83aa9f
committed
Simplify some logic in CreateReplicationSlot()
This refactoring reduces the code in charge of creating replicationslots from two "if" block to a single one, making it slightly cleaner.This change is possible since1d04a59, that has removed theintermediate code that existed between the two "if" blocks in charge ofinitializing the output message buffer.Author: Peter SmithDiscussion:https://postgr.es/m/CAHut+PtnJzqKT41Zt8pChRzba=QgCqjtfYvcf84NMj3VFJoKfw@mail.gmail.com1 parent7c3fb50 commite83aa9f
1 file changed
+16
-16
lines changedLines changed: 16 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1061 | 1061 |
| |
1062 | 1062 |
| |
1063 | 1063 |
| |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
1064 | 1075 |
| |
1065 | 1076 |
| |
1066 | 1077 |
| |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1067 | 1083 |
| |
1068 | 1084 |
| |
1069 | 1085 |
| |
| |||
1076 | 1092 |
| |
1077 | 1093 |
| |
1078 | 1094 |
| |
1079 |
| - | |
1080 |
| - | |
1081 |
| - | |
1082 |
| - | |
1083 |
| - | |
1084 |
| - | |
1085 | 1095 |
| |
1086 | 1096 |
| |
1087 | 1097 |
| |
| |||
1175 | 1185 |
| |
1176 | 1186 |
| |
1177 | 1187 |
| |
1178 |
| - | |
1179 |
| - | |
1180 |
| - | |
1181 |
| - | |
1182 |
| - | |
1183 |
| - | |
1184 |
| - | |
1185 |
| - | |
1186 |
| - | |
1187 |
| - | |
1188 | 1188 |
| |
1189 | 1189 |
| |
1190 | 1190 |
| |
|
0 commit comments
Comments
(0)