forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf475fe3
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 parentbca0f60 commitf475fe3
1 file changed
+14
-9
lines changedLines changed: 14 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4095 | 4095 |
| |
4096 | 4096 |
| |
4097 | 4097 |
| |
4098 |
| - | |
| 4098 | + | |
| 4099 | + | |
4099 | 4100 |
| |
4100 | 4101 |
| |
4101 | 4102 |
| |
| |||
4156 | 4157 |
| |
4157 | 4158 |
| |
4158 | 4159 |
| |
4159 |
| - | |
| 4160 | + | |
| 4161 | + | |
4160 | 4162 |
| |
4161 | 4163 |
| |
4162 | 4164 |
| |
| |||
4215 | 4217 |
| |
4216 | 4218 |
| |
4217 | 4219 |
| |
4218 |
| - | |
| 4220 | + | |
| 4221 | + | |
4219 | 4222 |
| |
4220 | 4223 |
| |
4221 | 4224 |
| |
4222 |
| - | |
4223 |
| - | |
| 4225 | + | |
| 4226 | + | |
| 4227 | + | |
| 4228 | + | |
| 4229 | + | |
4224 | 4230 |
| |
4225 | 4231 |
| |
4226 | 4232 |
| |
4227 | 4233 |
| |
4228 | 4234 |
| |
4229 | 4235 |
| |
| 4236 | + | |
4230 | 4237 |
| |
4231 |
| - | |
4232 |
| - | |
4233 |
| - | |
| 4238 | + | |
4234 | 4239 |
| |
4235 | 4240 |
| |
4236 | 4241 |
| |
4237 | 4242 |
| |
4238 |
| - | |
| 4243 | + | |
4239 | 4244 |
| |
4240 | 4245 |
| |
4241 | 4246 |
| |
|
0 commit comments
Comments
(0)