greenplumn fmgrtab_mock 源码
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;
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦