From ce3ddb81c2c6f2e28a15ae85737f13b6fd55b59e Mon Sep 17 00:00:00 2001
From: Mel Kiyama
Date: Fri, 29 Sep 2017 15:24:20 -0700
Subject: [PATCH] docs: gptransfer - add sha-256 option for --validate option
(#3362)
* docs: gptransfer - add sha-256 option for --validate option
* update based on review comments.
--changed option value from sha-256 to sha256
--move GPDB 4.3.x information to the notes section.
* Update/clarify based on review comments.
--clarified GPDB 4.3.x pgcrypto information.
--clarified --validate options.
* docs: minor update
* Conditionalizing the pivotal reference
* Extending conditionalized phrase to cover 4.3 stuff.
---
.../admin_utilities/gptransfer.xml | 24 ++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/gpdb-doc/dita/utility_guide/admin_utilities/gptransfer.xml b/gpdb-doc/dita/utility_guide/admin_utilities/gptransfer.xml
index 07a32e1b85..f0778121f7 100644
--- a/gpdb-doc/dita/utility_guide/admin_utilities/gptransfer.xml
+++ b/gpdb-doc/dita/utility_guide/admin_utilities/gptransfer.xml
@@ -204,6 +204,14 @@
utility uses a different configuration of named pipes and
gpfdist instances in the two situations.
+ Validating Table Data with SHA-256
+ Validating table data with SHA-256 (specifying the option
+ --validate=sha256) requires the Greenplum Database pgcrypto
+ extension. The extension is included with Pivotal Greenplum 5.x. When copying
+ data from a supported Pivotal Greenplum 4.3.x system, the extension package must
+ be installed on the 4.3.x system. You do not need to run
+ pgcrypto.sql to install the pgcrypto functions in a
+ Greenplum 4.3.x database.
Options
@@ -725,12 +733,22 @@ sdw4,192.0.2.4
--validate=type
- Perform data validation on table data. These are the supported types of
- validation.
+ Perform data validation on table data. The default is no validation. These
+ are the supported types of validation.
count - Specify this value to compare row counts between
source and destination table data.
- MD5 - Specify this value to compare MD5 values between
+ md5 - Specify this value to compare MD5 values between
source and destination table data.
+ sha256 - Specify this value to compare SHA-256 values
+ between source and destination table data. For more information about using
+ sha256, see Notes.
+
+ On a Greenplum Database system with FIPS enabled, the option
+ md5 is not supported. Use the
+ count or sha256 option to validate
+ table data.
+
If validation for a table fails, gptransfer displays the
name of the table and writes the file name to the text file
failed_migrated_tables_yyyymmdd_hhmmss.txt.
--
GitLab