mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
doc: use wording "restore" instead of "reload" of dumps
Reported-by: axel.kluener@gmail.com Discussion: https://postgr.es/m/164736074430.660.3645615289283943146@wrigleys.postgresql.org Backpatch-through: 11
This commit is contained in:
@@ -234,7 +234,7 @@ INSERT INTO tab (domcol) VALUES ((SELECT domcol FROM tab WHERE false));
|
||||
function. <productname>PostgreSQL</productname> does not disallow that,
|
||||
but it will not notice if there are stored values of the domain type that
|
||||
now violate the <literal>CHECK</literal> constraint. That would cause a
|
||||
subsequent database dump and reload to fail. The recommended way to
|
||||
subsequent database dump and restore to fail. The recommended way to
|
||||
handle such a change is to drop the constraint (using <command>ALTER
|
||||
DOMAIN</command>), adjust the function definition, and re-add the
|
||||
constraint, thereby rechecking it against stored data.
|
||||
|
||||
Reference in New Issue
Block a user