forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit783cb6e
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 parent89d5351 commit783cb6e
1 file changed
+14
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4108 | 4108 | | |
4109 | 4109 | | |
4110 | 4110 | | |
4111 | | - | |
| 4111 | + | |
| 4112 | + | |
4112 | 4113 | | |
4113 | 4114 | | |
4114 | 4115 | | |
| |||
4169 | 4170 | | |
4170 | 4171 | | |
4171 | 4172 | | |
4172 | | - | |
| 4173 | + | |
| 4174 | + | |
4173 | 4175 | | |
4174 | 4176 | | |
4175 | 4177 | | |
| |||
4228 | 4230 | | |
4229 | 4231 | | |
4230 | 4232 | | |
4231 | | - | |
| 4233 | + | |
| 4234 | + | |
4232 | 4235 | | |
4233 | 4236 | | |
4234 | 4237 | | |
4235 | | - | |
4236 | | - | |
| 4238 | + | |
| 4239 | + | |
| 4240 | + | |
| 4241 | + | |
| 4242 | + | |
4237 | 4243 | | |
4238 | 4244 | | |
4239 | 4245 | | |
4240 | 4246 | | |
4241 | 4247 | | |
4242 | 4248 | | |
| 4249 | + | |
4243 | 4250 | | |
4244 | | - | |
4245 | | - | |
4246 | | - | |
| 4251 | + | |
4247 | 4252 | | |
4248 | 4253 | | |
4249 | 4254 | | |
4250 | 4255 | | |
4251 | | - | |
| 4256 | + | |
4252 | 4257 | | |
4253 | 4258 | | |
4254 | 4259 | | |
| |||
0 commit comments
Comments
(0)