GS_SQL_PATCH
GS_SQL_PATCH系统表存储所有SQL_PATCH的状态信息,当前分布式下暂不支持该功能。
| 名称 | 类型 | 描述 |
|---|---|---|
| patch_name | name | PATCH名称。 |
| unique_sql_id | bigint | 查询全局唯一ID。 |
| owner | oid | PATCH的创建用户ID。 |
| enable | boolean | PATCH是否生效。 |
| status | "char" | PATCH的状态(预留字段)。 |
| abort | boolean | 是否是AbortHint。 |
| hint_string | text | Hint文本。 |
| hint_node | pg_node_tree | Hint解析&序列化的结果。 |
| original_query | text | 原始语句(预留字段)。 |
| patched_query | text | PATCH之后的语句(预留字段)。 |
| original_query_tree | pg_node_tree | 原始语句的解析结果(预留字段)。 |
| patched_query_tree | pg_node_tree | PATCH之后语句的解析结果(预留字段)。 |
| description | text | PATCH的备注。 |