2006-07-31 03:16:38 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* toasting.h
|
|
|
|
* This file provides some definitions to support creation of toast tables
|
|
|
|
*
|
|
|
|
*
|
2021-01-02 19:06:25 +01:00
|
|
|
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
|
2006-07-31 03:16:38 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/catalog/toasting.h
|
2006-07-31 03:16:38 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef TOASTING_H
|
|
|
|
#define TOASTING_H
|
|
|
|
|
2014-04-06 17:13:43 +02:00
|
|
|
#include "storage/lock.h"
|
|
|
|
|
2006-07-31 03:16:38 +02:00
|
|
|
/*
|
|
|
|
* toasting.c prototypes
|
|
|
|
*/
|
2014-04-06 17:13:43 +02:00
|
|
|
extern void NewRelationCreateToastTable(Oid relOid, Datum reloptions);
|
|
|
|
extern void NewHeapCreateToastTable(Oid relOid, Datum reloptions,
|
2021-08-25 06:40:50 +02:00
|
|
|
LOCKMODE lockmode, Oid OIDOldToast);
|
2014-04-06 17:13:43 +02:00
|
|
|
extern void AlterTableCreateToastTable(Oid relOid, Datum reloptions,
|
|
|
|
LOCKMODE lockmode);
|
2006-07-31 03:16:38 +02:00
|
|
|
extern void BootstrapToastTable(char *relName,
|
|
|
|
Oid toastOid, Oid toastIndexOid);
|
|
|
|
|
|
|
|
#endif /* TOASTING_H */
|