move pg_version_constatns.h to naked citus include as per rebase

pull/7326/head
Nils Dijk 2023-11-09 13:57:52 +00:00
parent e9147a43e4
commit ea4c49e405
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
1 changed files with 3 additions and 9 deletions

View File

@ -81,26 +81,20 @@ def print_sorted_includes(includes, file=sys.stdout):
}, },
{ {
"name": "naked citus inlcudes", "name": "naked citus inlcudes",
"list": ['"citus_version.h"', '"pg_version_compat.h"'], "list": ['"citus_version.h"', '"pg_version_compat.h"', '"pg_version_constants.h"'],
"group_key": 3, "group_key": 3,
"priority": 0, "priority": 0,
}, },
{
"name": "positional citus includes",
"list": ['"distributed/pg_version_constants.h"'],
"group_key": 4,
"priority": 0,
},
{ {
"name": "columnar includes", "name": "columnar includes",
"matcher": lambda x: x.startswith('"columnar/'), "matcher": lambda x: x.startswith('"columnar/'),
"group_key": 5, "group_key": 4,
"priority": 1, "priority": 1,
}, },
{ {
"name": "distributed includes", "name": "distributed includes",
"matcher": lambda x: x.startswith('"distributed/'), "matcher": lambda x: x.startswith('"distributed/'),
"group_key": 6, "group_key": 5,
"priority": 1, "priority": 1,
}, },
] ]