greenplumn attributes 源码
greenplumn attributes 代码
文件路径:/src/backend/gporca/libgpos/include/gpos/attributes.h
#ifndef GPOS_attributes_H
#define GPOS_attributes_H
#ifdef USE_CMAKE
#define GPOS_FORMAT_ARCHETYPE printf
#else
#include "pg_config.h"
#define GPOS_FORMAT_ARCHETYPE PG_PRINTF_ATTRIBUTE
#endif
#define GPOS_ATTRIBUTE_PRINTF(f, a) \
__attribute__((format(GPOS_FORMAT_ARCHETYPE, f, a)))
#ifdef __GNUC__
#define GPOS_UNUSED __attribute__((unused))
#else
#define GPOS_UNUSED
#endif
#ifndef GPOS_DEBUG
#define GPOS_ASSERTS_ONLY GPOS_UNUSED
#else
#define GPOS_ASSERTS_ONLY
#endif
#endif // !GPOS_attributes_H
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦