From 7a79114f5403dc5728c17fd67951799beab5fe4e Mon Sep 17 00:00:00 2001 From: Julien Rouhaud Date: Sun, 4 Nov 2018 11:07:54 +0100 Subject: [PATCH] Apply upstream 02a30a09 (Correct constness of system attributes) (cherry picked from commit 8d78b0783ef977413b2838a1ea22123b50723af5) --- hypopg_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypopg_import.c b/hypopg_import.c index 1185aef..4292b8a 100644 --- a/hypopg_import.c +++ b/hypopg_import.c @@ -62,7 +62,7 @@ build_index_tlist(PlannerInfo *root, IndexOptInfo *index, if (indexkey != 0) { /* simple column */ - Form_pg_attribute att_tup; + const FormData_pg_attribute *att_tup; if (indexkey < 0) att_tup = SystemAttributeDefinition(indexkey,