mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
33 lines
874 B
C
33 lines
874 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* ibit.h
|
|
* POSTGRES index valid attribute bit map definitions.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: ibit.h,v 1.15 2001/01/24 19:43:19 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef IBIT_H
|
|
#define IBIT_H
|
|
|
|
typedef struct IndexAttributeBitMapData
|
|
{
|
|
bits8 bits[(INDEX_MAX_KEYS + 8 - 1) / 8];
|
|
} IndexAttributeBitMapData;
|
|
|
|
typedef IndexAttributeBitMapData *IndexAttributeBitMap;
|
|
|
|
#define IndexAttributeBitMapSize sizeof(IndexAttributeBitMapData)
|
|
|
|
/*
|
|
* IndexAttributeBitMapIsValid
|
|
* True iff attribute bit map is valid.
|
|
*/
|
|
#define IndexAttributeBitMapIsValid(bits) PointerIsValid(bits)
|
|
|
|
#endif /* IBIT_H */
|