Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pg_transform.h49 linesDownload Raw Back to catalog
1/*-------------------------------------------------------------------------2 *3 * pg_transform.h4 *	  definition of the "transform" system catalog (pg_transform)5 *6 *7 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group8 * Portions Copyright (c) 1994, Regents of the University of California9 *10 * src/include/catalog/pg_transform.h11 *12 * NOTES13 *	  The Catalog.pm module reads this file and derives schema14 *	  information.15 *16 *-------------------------------------------------------------------------17 */18#ifndef PG_TRANSFORM_H19#define PG_TRANSFORM_H20 21#include "catalog/genbki.h"22#include "catalog/pg_transform_d.h"23 24/* ----------------25 *		pg_transform definition.  cpp turns this into26 *		typedef struct FormData_pg_transform27 * ----------------28 */29CATALOG(pg_transform,3576,TransformRelationId)30{31	Oid			oid;			/* oid */32	Oid			trftype BKI_LOOKUP(pg_type);33	Oid			trflang BKI_LOOKUP(pg_language);34	regproc		trffromsql BKI_LOOKUP_OPT(pg_proc);35	regproc		trftosql BKI_LOOKUP_OPT(pg_proc);36} FormData_pg_transform;37 38/* ----------------39 *		Form_pg_transform corresponds to a pointer to a tuple with40 *		the format of pg_transform relation.41 * ----------------42 */43typedef FormData_pg_transform *Form_pg_transform;44 45DECLARE_UNIQUE_INDEX_PKEY(pg_transform_oid_index, 3574, TransformOidIndexId, on pg_transform using btree(oid oid_ops));46DECLARE_UNIQUE_INDEX(pg_transform_type_lang_index, 3575, TransformTypeLangIndexId, on pg_transform using btree(trftype oid_ops, trflang oid_ops));47 48#endif							/* PG_TRANSFORM_H */49