greenplumn pg_type_encoding 源码

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

greenplumn pg_type_encoding 代码

文件路径:/src/include/catalog/pg_type_encoding.h

/*-------------------------------------------------------------------------
 *
 * pg_type_encoding.h
 *	  some where to stash type ENCODING () clauses
 *
 * Portions Copyright (c) EMC, 2011
 * Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
 *
 *
 * IDENTIFICATION
 *	    src/include/catalog/pg_type_encoding.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_TYPE_ENCODING_H
#define PG_TYPE_ENCODING_H

#include "catalog/genbki.h"
#include "catalog/pg_type_encoding_d.h"

/* ----------------
 *		pg_type_encoding definition.  cpp turns this into
 *		typedef struct FormData_pg_type_encoding
 * ----------------
 */
CATALOG(pg_type_encoding,6220,TypeEncodingRelationId)
{
	Oid		typid;			
#ifdef CATALOG_VARLEN			/* variable-length fields start here */
	text	typoptions[1];	
#endif
} FormData_pg_type_encoding;

/* GPDB added foreign key definitions for gpcheckcat. */
FOREIGN_KEY(typid REFERENCES pg_type(oid));

/* ----------------
 *		Form_pg_type_encoding corresponds to a pointer to a tuple with
 *		the format of pg_type_encoding relation.
 * ----------------
 */
typedef FormData_pg_type_encoding *Form_pg_type_encoding;

#endif   /* PG_TYPE_ENCODING_H */

相关信息

greenplumn 源码目录

相关文章

greenplumn aoblkdir 源码

greenplumn aocatalog 源码

greenplumn aoseg 源码

greenplumn aovisimap 源码

greenplumn binary_upgrade 源码

greenplumn catalog 源码

greenplumn catversion 源码

greenplumn dependency 源码

greenplumn genbki 源码

greenplumn gp_configuration_history 源码

0  赞