forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0fb0a05
committed
Hide internal error for pg_collation_actual_version(<bad OID>).
Instead of an unsightly internal "cache lookup failed" message, justreturn NULL for bad OIDs, as is the convention for other similar things.Reported-by: Justin Pryzby <pryzby@telsasoft.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/20210117215940.GE8560%40telsasoft.com1 parentf05ed5a commit0fb0a05
File tree
7 files changed
+33
-7
lines changed- src
- backend
- catalog
- commands
- utils/adt
- include/utils
- test/regress
- expected
- sql
7 files changed
+33
-7
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1290 | 1290 |
| |
1291 | 1291 |
| |
1292 | 1292 |
| |
1293 |
| - | |
| 1293 | + | |
| 1294 | + | |
1294 | 1295 |
| |
1295 | 1296 |
| |
1296 | 1297 |
| |
| |||
1369 | 1370 |
| |
1370 | 1371 |
| |
1371 | 1372 |
| |
1372 |
| - | |
| 1373 | + | |
1373 | 1374 |
| |
1374 | 1375 |
| |
1375 | 1376 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
| 119 | + | |
| 120 | + | |
120 | 121 |
| |
121 | 122 |
| |
122 | 123 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
276 |
| - | |
| 276 | + | |
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1726 | 1726 |
| |
1727 | 1727 |
| |
1728 | 1728 |
| |
1729 |
| - | |
| 1729 | + | |
| 1730 | + | |
1730 | 1731 |
| |
1731 | 1732 |
| |
1732 |
| - | |
| 1733 | + | |
1733 | 1734 |
| |
1734 | 1735 |
| |
1735 | 1736 |
| |
| |||
1751 | 1752 |
| |
1752 | 1753 |
| |
1753 | 1754 |
| |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
1754 | 1758 |
| |
| 1759 | + | |
1755 | 1760 |
| |
1756 | 1761 |
| |
1757 | 1762 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
|
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2155 | 2155 |
| |
2156 | 2156 |
| |
2157 | 2157 |
| |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
883 | 883 |
| |
884 | 884 |
| |
885 | 885 |
| |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + |
0 commit comments
Comments
(0)