Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2020-09-16 07:26:50 +0000
committerMichael Paquier2020-09-16 07:26:50 +0000
commit5423853feebd30772b7ff9b306885dcb02b79e76 (patch)
treec3781bd5aa8a7b0401b3abd76a437ea28e43a306 /contrib/xml2
parentc8aeaf3ab31edeedf1791e37c74bcedf61a916ed (diff)
Avoid retrieval of CHECK constraints and DEFAULT exprs in data-only dump
Those extra queries are not necessary when doing a data-only dump. With this change, this means that the dependencies between CHECK/DEFAULT and the parent table are not tracked anymore for a data-only dump. However, these dependencies are only used for the schema generation and we have never guaranteed that a dump can be reloaded if a CHECK constraint uses a custom function whose behavior changes when loading the data, like when using cross-table references in the CHECK function. Author: Julien Rouhaud Reviewed-by: Daniel Gustafsson, Michael Paquier Discussion: https://postgr.es/m/20200712054850.GA92357@nol
Diffstat (limited to 'contrib/xml2')
0 files changed, 0 insertions, 0 deletions