Use ONLY keywords on PG11 deparser

pull/5109/head
Hanefi Onaldi 2021-07-13 12:36:43 +03:00
parent e58b78f1e8
commit 4ca544200c
No known key found for this signature in database
GPG Key ID: F18CDB10BA0DFDC7
1 changed files with 4 additions and 3 deletions

View File

@ -7055,9 +7055,10 @@ get_from_clause_item(Node *jtnode, Query *query, deparse_context *context)
ExtractRangeTblExtraData(rte, NULL, &fragmentSchemaName, &fragmentTableName, NULL); ExtractRangeTblExtraData(rte, NULL, &fragmentSchemaName, &fragmentTableName, NULL);
/* use schema and table name from the remote alias */ /* use schema and table name from the remote alias */
appendStringInfoString(buf, appendStringInfo(buf, "%s%s",
generate_fragment_name(fragmentSchemaName, only_marker(rte),
fragmentTableName)); generate_fragment_name(fragmentSchemaName,
fragmentTableName));
break; break;
} }