aboutsummaryrefslogtreecommitdiff
path: root/src/backend/catalog/pg_variable.h
blob: d38a1185740f66cdbd48f413764cb58f27abe550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*-------------------------------------------------------------------------
 *
 * pg_variable.h--
 *    the system variable relation "pg_variable" is not a "heap" relation.
 *    it is automatically created by the transam/ code and the
 *    information here is all bogus and is just here to make the
 *    relcache code happy.
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: pg_variable.h,v 1.1.1.1 1996/07/09 06:21:18 scrappy Exp $
 *
 * NOTES
 *    The structures and macros used by the transam/ code
 *    to access pg_variable should someday go here -cim 6/18/90
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_VARIABLE_H
#define PG_VARIABLE_H

/* ----------------
 *	postgres.h contains the system type definintions and the
 *	CATALOG(), BOOTSTRAP and DATA() sugar words so this file
 *	can be read by both genbki.sh and the C compiler.
 * ----------------
 */
#include "postgres.h"

CATALOG(pg_variable) BOOTSTRAP {
    Oid  	varfoo;
} FormData_pg_variable;

typedef FormData_pg_variable	*Form_pg_variable;

#define Natts_pg_variable	1
#define Anum_pg_variable_varfoo	1

#endif /* PG_VARIABLE_H */