diff options
Diffstat (limited to 'doc/src/sgml/ref/create_domain.sgml')
-rw-r--r-- | doc/src/sgml/ref/create_domain.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_domain.sgml b/doc/src/sgml/ref/create_domain.sgml index e4b856d630c..82a0b874929 100644 --- a/doc/src/sgml/ref/create_domain.sgml +++ b/doc/src/sgml/ref/create_domain.sgml @@ -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. |