- Notifications
You must be signed in to change notification settings - Fork5
Commit97dc3c8
committed
Fix brain fade in previous pg_dump patch.
In pre-7.3 databases, pg_attribute.attislocal doesn't exist. The easiestway to make sure the new inheritance logic behaves sanely is to assume it'sTRUE, not FALSE. This will result in printing child columns even whenthey're not really needed. We could work harder at trying to reconstruct avalue for attislocal, but there is little evidence that anyone still caresabout dumping from such old versions, so just do the minimum necessary tohave a valid dump.I had this correct in the original draft of the patch, but for someunaccountable reason decided it wasn't necessary to change the value.Testing against an old server shows otherwise...1 parent00bc96b commit97dc3c8
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5835 | 5835 |
| |
5836 | 5836 |
| |
5837 | 5837 |
| |
5838 |
| - | |
| 5838 | + | |
5839 | 5839 |
| |
5840 | 5840 |
| |
5841 | 5841 |
| |
5842 | 5842 |
| |
5843 | 5843 |
| |
5844 |
| - | |
| 5844 | + | |
5845 | 5845 |
| |
5846 | 5846 |
| |
5847 | 5847 |
| |
| |||
5860 | 5860 |
| |
5861 | 5861 |
| |
5862 | 5862 |
| |
5863 |
| - | |
| 5863 | + | |
5864 | 5864 |
| |
5865 | 5865 |
| |
5866 | 5866 |
| |
|
0 commit comments
Comments
(0)