mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
31 lines
833 B
C
31 lines
833 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* hypopg.h: Implementation of hypothetical indexes for PostgreSQL
|
|
*
|
|
* This program is open source, licensed under the PostgreSQL license.
|
|
* For license terms, see the LICENSE file.
|
|
*
|
|
* Copyright (C) 2015-2018: Julien Rouhaud
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef _HYPOPG_H_
|
|
#define _HYPOPG_H_
|
|
|
|
#include "catalog/catalog.h"
|
|
#include "commands/explain.h"
|
|
#include "nodes/nodeFuncs.h"
|
|
#include "utils/memutils.h"
|
|
|
|
#include "include/hypopg_import.h"
|
|
|
|
extern bool isExplain;
|
|
/* GUC for enabling / disabling hypopg during EXPLAIN */
|
|
extern bool hypo_is_enabled;
|
|
extern MemoryContext HypoMemoryContext;
|
|
|
|
Oid hypo_getNewOid(Oid relid);
|
|
void hypo_process_inval(void);
|
|
void hypo_clear_inval(void);
|
|
|
|
#endif
|