Omit now-public Explain methods from PG11 build

This copy-pasted code is no longer needed in PG11.
pull/1633/head
Jason Petersen 2017-09-20 22:11:32 -07:00
parent 89d02c6115
commit d686123dae
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,7 @@ static void ExplainOneQuery(Query *query, int cursorOptions,
static void ExplainOneQuery(Query *query, IntoClause *into, ExplainState *es,
const char *queryString, ParamListInfo params);
#endif
#if (PG_VERSION_NUM < 110000)
static void ExplainOpenGroup(const char *objtype, const char *labelname,
bool labeled, ExplainState *es);
static void ExplainCloseGroup(const char *objtype, const char *labelname,
@ -99,6 +100,7 @@ static void ExplainCloseGroup(const char *objtype, const char *labelname,
static void ExplainXMLTag(const char *tagname, int flags, ExplainState *es);
static void ExplainJSONLineEnding(ExplainState *es);
static void ExplainYAMLLineStarting(ExplainState *es);
#endif
/*
@ -635,6 +637,7 @@ ExplainOneQuery(Query *query, IntoClause *into, ExplainState *es,
}
}
#if (PG_VERSION_NUM < 110000)
/*
* Open a group of related objects.
*
@ -811,3 +814,4 @@ ExplainYAMLLineStarting(ExplainState *es)
appendStringInfoSpaces(es->str, es->indent * 2);
}
}
#endif