Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pg_sequence.h45 linesDownload Raw Back to catalog
1/* -------------------------------------------------------------------------2 *3 * pg_sequence.h4 *	  definition of the "sequence" system catalog (pg_sequence)5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * src/include/catalog/pg_sequence.h10 *11 * NOTES12 *	  The Catalog.pm module reads this file and derives schema13 *	  information.14 *15 * -------------------------------------------------------------------------16 */17#ifndef PG_SEQUENCE_H18#define PG_SEQUENCE_H19 20#include "catalog/genbki.h"21#include "catalog/pg_sequence_d.h"22 23CATALOG(pg_sequence,2224,SequenceRelationId)24{25	Oid			seqrelid BKI_LOOKUP(pg_class);26	Oid			seqtypid BKI_LOOKUP(pg_type);27	int64		seqstart;28	int64		seqincrement;29	int64		seqmax;30	int64		seqmin;31	int64		seqcache;32	bool		seqcycle;33} FormData_pg_sequence;34 35/* ----------------36 *		Form_pg_sequence corresponds to a pointer to a tuple with37 *		the format of pg_sequence relation.38 * ----------------39 */40typedef FormData_pg_sequence *Form_pg_sequence;41 42DECLARE_UNIQUE_INDEX_PKEY(pg_sequence_seqrelid_index, 5002, SequenceRelidIndexId, on pg_sequence using btree(seqrelid oid_ops));43 44#endif							/* PG_SEQUENCE_H */45 
codekingpro/portable-devtools · Team Ai