PostgreSQL Source Code  git master
toasting.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * toasting.h
4  * This file provides some definitions to support creation of toast tables
5  *
6  *
7  * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/catalog/toasting.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef TOASTING_H
15 #define TOASTING_H
16 
17 #include "storage/lock.h"
18 
19 /*
20  * toasting.c prototypes
21  */
22 extern void NewRelationCreateToastTable(Oid relOid, Datum reloptions);
23 extern void NewHeapCreateToastTable(Oid relOid, Datum reloptions,
24  LOCKMODE lockmode);
25 extern void AlterTableCreateToastTable(Oid relOid, Datum reloptions,
26  LOCKMODE lockmode);
27 extern void BootstrapToastTable(char *relName,
28  Oid toastOid, Oid toastIndexOid);
29 
30 #endif /* TOASTING_H */
int LOCKMODE
Definition: lockdefs.h:26
void NewRelationCreateToastTable(Oid relOid, Datum reloptions)
Definition: toasting.c:69
void BootstrapToastTable(char *relName, Oid toastOid, Oid toastIndexOid)
Definition: toasting.c:93
unsigned int Oid
Definition: postgres_ext.h:31
void AlterTableCreateToastTable(Oid relOid, Datum reloptions, LOCKMODE lockmode)
Definition: toasting.c:57
uintptr_t Datum
Definition: postgres.h:367
void NewHeapCreateToastTable(Oid relOid, Datum reloptions, LOCKMODE lockmode)
Definition: toasting.c:63