- Notifications
You must be signed in to change notification settings - Fork28
Commit8ec05b2
Neil Conway
Modify hash_create() to elog(ERROR) if an error occurs, rather than
returning a NULL pointer (some callers remembered to check the returnvalue, but some did not -- it is safer to just bail out).Also, cleanup pgstat.c to use elog(ERROR) rather than elog(LOG) followedby exit().1 parent346aff0 commit8ec05b2
File tree
9 files changed
+48
-174
lines changed- contrib/dblink
- src/backend
- commands
- executor
- postmaster
- storage
- lmgr
- smgr
- utils
- fmgr
- hash
9 files changed
+48
-174
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
2046 | | - | |
2047 | 2046 | | |
2048 | 2047 | | |
2049 | 2048 | | |
2050 | 2049 | | |
2051 | | - | |
2052 | | - | |
2053 | | - | |
2054 | | - | |
2055 | | - | |
2056 | | - | |
2057 | | - | |
2058 | | - | |
| 2050 | + | |
2059 | 2051 | | |
2060 | 2052 | | |
2061 | 2053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | 267 | | |
271 | 268 | | |
272 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | 325 | | |
330 | 326 | | |
331 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | 1048 | | |
1053 | 1049 | | |
1054 | 1050 | | |
| |||
0 commit comments
Comments
(0)