forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5423853
committed
Avoid retrieval of CHECK constraints and DEFAULT exprs in data-only dump
Those extra queries are not necessary when doing a data-only dump. Withthis change, this means that the dependencies between CHECK/DEFAULT andthe parent table are not tracked anymore for a data-only dump. However,these dependencies are only used for the schema generation and we havenever guaranteed that a dump can be reloaded if a CHECK constraint usesa custom function whose behavior changes when loading the data, likewhen using cross-table references in the CHECK function.Author: Julien RouhaudReviewed-by: Daniel Gustafsson, Michael PaquierDiscussion:https://postgr.es/m/20200712054850.GA92357@nol1 parentc8aeaf3 commit5423853
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8644 | 8644 |
| |
8645 | 8645 |
| |
8646 | 8646 |
| |
8647 |
| - | |
| 8647 | + | |
| 8648 | + | |
8648 | 8649 |
| |
8649 |
| - | |
| 8650 | + | |
8650 | 8651 |
| |
8651 | 8652 |
| |
8652 | 8653 |
| |
| |||
8731 | 8732 |
| |
8732 | 8733 |
| |
8733 | 8734 |
| |
8734 |
| - | |
| 8735 | + | |
| 8736 | + | |
8735 | 8737 |
| |
8736 |
| - | |
| 8738 | + | |
8737 | 8739 |
| |
8738 | 8740 |
| |
8739 | 8741 |
| |
|
0 commit comments
Comments
(0)