Commit e26d313
committed
Remove useless code
BuildDescForRelation() goes out of its way to fill in
->constr->has_not_null, but that value is not used for anything later,
so this code can all be removed. Note that BuildDescForRelation()
doesn't make any effort to fill in the rest of ->constr, so there is
no claim that that structure is completely filled in.
Reviewed-by: Tomasz Rybak <tomasz.rybak@post.pl>
Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b0a6@eisentraut.org1 parent da2aeba commit e26d313
1 file changed
+3
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
1276 | | - | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1277 | 1279 | | |
1278 | 1280 | | |
1279 | 1281 | | |
| |||
1282 | 1284 | | |
1283 | 1285 | | |
1284 | 1286 | | |
1285 | | - | |
1286 | 1287 | | |
1287 | 1288 | | |
1288 | 1289 | | |
| |||
1294 | 1295 | | |
1295 | 1296 | | |
1296 | 1297 | | |
1297 | | - | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| |||
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
1343 | | - | |
1344 | 1343 | | |
1345 | 1344 | | |
1346 | 1345 | | |
| |||
1352 | 1351 | | |
1353 | 1352 | | |
1354 | 1353 | | |
1355 | | - | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | 1354 | | |
1374 | 1355 | | |
1375 | 1356 | | |
| |||
0 commit comments