From: Pavan Deolasee Date: Fri, 16 Jun 2017 06:57:17 +0000 (+0530) Subject: Correct FormData_pg_attribute default values for xc_node_id X-Git-Tag: XL_10_R1BETA1~271 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=45bf5f09260f4db988b0479179682a7e97cebd9e;p=postgres-xl.git Correct FormData_pg_attribute default values for xc_node_id A new attribute got added to pg_attribute catalog in PG 10, we must update the default FormData_pg_attribute for XL's xc_node_id system attribute with the correct initial values. --- diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index a1b7bd2f72..59520f1893 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -210,7 +210,7 @@ static FormData_pg_attribute a7 = { static FormData_pg_attribute a8 = { 0, {"xc_node_id"}, INT4OID, 0, sizeof(int32), XC_NodeIdAttributeNumber, 0, -1, -1, - true, 'p', 'i', true, false, false, true, 0 + true, 'p', 'i', true, false, '\0', false, true, 0 }; static const Form_pg_attribute SysAtt[] = {&a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8};