forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1f679ae
Tidy-up some appendStringInfo*() usages
Make a few newish calls to appendStringInfo() which have no specialformatting use appendStringInfoString() instead. Also, adjust usages ofappendStringInfoString() which only append a string containing a singlecharacter to make use of appendStringInfoChar() instead.This makes the code marginally faster, but primarily this change is sowe use the StringInfo type as it was intended to be used.Discussion:https://postgr.es/m/CAApHDvpXKQmL+r=VDNS98upqhr9yGBhv2Jw3GBFFk_wKHcB39A@mail.gmail.com1 parenta6aa605 commit1f679ae
File tree
7 files changed
+11
-11
lines changed- src
- backend
- access
- rmgrdesc
- transam
- replication
- utils/adt
- test/regress
7 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1282 | 1282 | | |
1283 | 1283 | | |
1284 | 1284 | | |
1285 | | - | |
| 1285 | + | |
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10395 | 10395 | | |
10396 | 10396 | | |
10397 | 10397 | | |
10398 | | - | |
| 10398 | + | |
10399 | 10399 | | |
10400 | 10400 | | |
10401 | 10401 | | |
| |||
10884 | 10884 | | |
10885 | 10885 | | |
10886 | 10886 | | |
10887 | | - | |
| 10887 | + | |
10888 | 10888 | | |
10889 | 10889 | | |
10890 | 10890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2339 | 2339 | | |
2340 | 2340 | | |
2341 | 2341 | | |
2342 | | - | |
| 2342 | + | |
2343 | 2343 | | |
2344 | | - | |
| 2344 | + | |
2345 | 2345 | | |
2346 | 2346 | | |
2347 | 2347 | | |
| |||
0 commit comments
Comments
(0)