greenplumn fmgrtab_mock 源码

  • 2022-08-18
  • 浏览 (488)

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 源码

0  赞