forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite5bdaa1
committed
Fix multiple minor infelicities in aclchk.c error reports.
pg_type_aclmask reported the wrong type's OID when complaining thatit could not find a type's typelem. It also failed to provide asuitable errcode when the initially given OID doesn't exist (whichis a user-facing error, since that OID can be user-specified).pg_foreign_data_wrapper_aclmask and pg_foreign_server_aclmask likewiselacked errcode specifications. Trivial cosmetic adjustments too.The wrong-type-OID problem was reported by Petru-Florin Mihancea inbug #14186; the other issues noted by me while reading the code.These errors all seem to be aboriginal in the respective routines, soback-patch as necessary.Report: <20160613163159.5798.52928@wrigleys.postgresql.org>1 parent1ad8373 commite5bdaa1
1 file changed
+14
-9
lines changedLines changed: 14 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4068 | 4068 |
| |
4069 | 4069 |
| |
4070 | 4070 |
| |
4071 |
| - | |
| 4071 | + | |
| 4072 | + | |
4072 | 4073 |
| |
4073 | 4074 |
| |
4074 | 4075 |
| |
| |||
4129 | 4130 |
| |
4130 | 4131 |
| |
4131 | 4132 |
| |
4132 |
| - | |
| 4133 | + | |
| 4134 | + | |
4133 | 4135 |
| |
4134 | 4136 |
| |
4135 | 4137 |
| |
| |||
4188 | 4190 |
| |
4189 | 4191 |
| |
4190 | 4192 |
| |
4191 |
| - | |
| 4193 | + | |
| 4194 | + | |
4192 | 4195 |
| |
4193 | 4196 |
| |
4194 | 4197 |
| |
4195 |
| - | |
4196 |
| - | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
4197 | 4203 |
| |
4198 | 4204 |
| |
4199 | 4205 |
| |
4200 | 4206 |
| |
4201 | 4207 |
| |
4202 | 4208 |
| |
| 4209 | + | |
4203 | 4210 |
| |
4204 |
| - | |
4205 |
| - | |
4206 |
| - | |
| 4211 | + | |
4207 | 4212 |
| |
4208 | 4213 |
| |
4209 | 4214 |
| |
4210 | 4215 |
| |
4211 |
| - | |
| 4216 | + | |
4212 | 4217 |
| |
4213 | 4218 |
| |
4214 | 4219 |
| |
|
0 commit comments
Comments
(0)