forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit350e6b8
committed
pg_dump: provide a stable sort order for rules.
Previously, we sorted rules by schema name and then rule name;if that wasn't unique, we sorted by rule OID. This can beproblematic for comparing dumps from databases with differenthistories, especially since certain rule names like "_RETURN"are very common. Let's make the sort key schema name, rule name,table name, which should be unique. (This is the same behaviorwe've long used for triggers and RLS policies.)Andreas KarlssonDiscussion:https://postgr.es/m/b4e468d8-0cd6-42e6-ac8a-1d6afa6e0cf1@proxel.se1 parent215f7af commit350e6b8
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
297 | 308 |
| |
298 | 309 |
| |
299 | 310 |
| |
|
0 commit comments
Comments
(0)