greenplumn fmgrtab_mock 源码

2022-08-18 浏览 (579)

greenplumn fmgrtab_mock 代码

文件路径:/src/test/unit/mock/fmgrtab_mock.c

/*
 * This is a mock version of src/backend/utils/fmgrtab.c. The real fmgrtab.c
 * contains a large table, fmgr_builtins, which contains a pointer to all
 * the built-in functions that are exposed at SQL-level, in the pg_proc
 * catalog. We don't need the table in mock tests, and if we leave them out,
 * we don't need to link in the .o files containing them, which helps to cut
 * down the size of the test programs.
 */
#include "postgres.h"

#include "utils/fmgrtab.h"

const FmgrBuiltin fmgr_builtins[] = { };

const int fmgr_nbuiltins = 0;

相关信息

greenplumn 源码目录

相关文章

greenplumn faultinjector_warnings 源码

greenplumn gpopt_mock 源码

greenplumn main_mock 源码

greenplumn rmgr_mock 源码

  • 所属分类: 大数据
  • 本文标签: greenplum
  • 版权声明: 本文链接 https://seaxiang.com/blog/a3616b0aa9b44ba1a3f19a89e8b68e03