- Notifications
You must be signed in to change notification settings - Fork28
Commit92c7602
committed
Improve readability of some tests in strings.sql
c251336 has added some tests to check if a toast relation should beempty or not, hardcoding the toast relation name when callingpg_relation_size(). pg_class.reltoastrelid offers the same information,so simplify the tests to use that.Reviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/20190403065949.GH3298@paquier.xyz1 parentb73c3a1 commit92c7602
2 files changed
+12
-8
lines changedLines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1190 | 1190 |
| |
1191 | 1191 |
| |
1192 | 1192 |
| |
1193 |
| - | |
1194 |
| - | |
1195 |
| - | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
1196 | 1197 |
| |
1197 | 1198 |
| |
1198 | 1199 |
| |
| |||
1203 | 1204 |
| |
1204 | 1205 |
| |
1205 | 1206 |
| |
1206 |
| - | |
1207 |
| - | |
1208 |
| - | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1209 | 1211 |
| |
1210 | 1212 |
| |
1211 | 1213 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
378 |
| - | |
| 378 | + | |
| 379 | + | |
379 | 380 |
| |
380 | 381 |
| |
381 | 382 |
| |
| |||
384 | 385 |
| |
385 | 386 |
| |
386 | 387 |
| |
387 |
| - | |
| 388 | + | |
| 389 | + | |
388 | 390 |
| |
389 | 391 |
| |
390 | 392 |
| |
|
0 commit comments
Comments
(0)