summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2017-06-16 06:57:17 +0000
committerPavan Deolasee2017-06-16 06:57:17 +0000
commit45bf5f09260f4db988b0479179682a7e97cebd9e (patch)
tree08b629e5d5d4f00d51200f8f08cbb7c64f76f351
parenta9219636e83d8bfdfe38037151b2a81df8fffaf0 (diff)
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.
-rw-r--r--src/backend/catalog/heap.c2
1 files changed, 1 insertions, 1 deletions
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};