# 函数和操作符
本章介绍M-Compatibility下的函数和操作符。
![](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/public_sys-resources/notice_3.0-zh-cn.png)
[函数和操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0039.html)章节中的函数和操作符在M-Compatibility下属于内部接口，禁止使用，使用这些函数和操作符可能产生预期外的结果。
[函数和操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0039.html)章节中的以下函数在M-Compatibility模式数据库中暂不支持：
表1和MySQL同名且M-Compatibility尚未支持的函数 
|    isEmpty     |   overlaps    |    point    | regexp_instr | regexp_like |
|---|---|---|---|---|
| regexp_replace | regexp_substr | stddev_pop | stddev_samp | -           |
   
![](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/public_sys-resources/note_3.0-zh-cn.png)
函数regexp_instr、regexp_like、regexp_replace、regexp_substr在参数m_format_dev_version值为's2'及以上版本并且参数m_format_behavior_compat_options值包含'enable_conflict_funcs'的情况下使用会报错，并提示M-Compatibility数据库不支持；其他行为和[字符处理函数和操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0042.html)章节中的同名函数保持一致。
表2系统信息函数 
| adm_hist_snapshot_func | adm_hist_sqlstat_func | adm_hist_sqltext_func | session_context |
|---|---|---|---|
   
表3统计信息函数 
| get_global_transactions_prepared_xacts | get_global_transactions_running_xacts |
|---|---|
   
表4系统管理函数 
| dbe_perf.get_full_sql_by_parent_id_and_timestamp | dbe_perf.get_active_session_profile | dbe_perf.get_global_slow_sql_by_timestamp | dbe_perf.get_global_full_sql_by_timestamp |
|---|---|---|---|
   
表5其他函数 
| information_schema_pg_truetypid | information_schema._pg_truetypmod | summary_create | sys_context |
|---|---|---|---|
   
表6内部函数 
|    db4ai.archive_snapshot     | db4ai.create_snapshot | db4ai.create_snapshot_internal | db4ai.manage_snapshot_internal | db4ai.prepare_snapshot |
|---|---|---|---|---|
| db4ai.prepare_snapshot_internal | db4ai.publish_snapshot | db4ai.purge_snapshot          | db4ai.purge_snapshot_internal    | db4ai.sample_snapshot   |
| pgxc_get_stat_dirty_tables   | -                   | -                             | -                             | -                    |
   
- **[操作符概述](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0571.html)**   
- **[逻辑操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0572.html)**   
- **[位运算操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0573.html)**   
- **[模式匹配操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0574.html)**   
- **[比较函数和比较操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0575.html)**   
- **[数字操作函数和算术操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0576.html)**   
- **[字符串函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0577.html)**   
- **[日期时间函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0578.html)**   
- **[类型转换函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0579.html)**   
- **[网络地址函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0580.html)**   
- **[聚合函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0581.html)**   
- **[JSON函数和操作符](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0582.html)**   
- **[窗口函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0585.html)**   
- **[加解密函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0586.html)**   
- **[流程控制函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0587.html)**   
- **[自治事务特性函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0588.html)**   
- **[内部函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0589.html)**   
- **[其他函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0590.html)**   
- **[安全函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0591.html)**   
- **[失效重编译函数](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0592.html)**   
