forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcb087ec
committed
Copy the relation name for error reporting in WCOs
In get_row_security_policies(), we need to make a copy of the relationname when building the WithCheckOptions structure, sinceRelationGetRelationName just returns a pointer into the local Relationstructure. The relation name in the WCO structure is only used forerror reporting.Pointed out by Robert and Christian Ullrich, who noted that thebuildfarm members with -DCLOBBER_CACHE_ALWAYS were failing.1 parent62420ae commitcb087ec
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
262 |
| - | |
| 262 | + | |
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
| |||
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
277 |
| - | |
| 277 | + | |
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
| |||
285 | 285 |
| |
286 | 286 |
| |
287 | 287 |
| |
288 |
| - | |
| 288 | + | |
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
| |||
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
306 |
| - | |
| 306 | + | |
307 | 307 |
| |
308 | 308 |
| |
309 | 309 |
| |
|
0 commit comments
Comments
(0)