2018-03-28 02:13:52 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* tupdesc_details.h
|
|
|
|
* POSTGRES tuple descriptor definitions we can't include everywhere
|
|
|
|
*
|
|
|
|
*
|
2023-01-02 21:00:37 +01:00
|
|
|
* Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
|
2018-03-28 02:13:52 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
|
|
|
* src/include/access/tupdesc_details.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TUPDESC_DETAILS_H
|
|
|
|
#define TUPDESC_DETAILS_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Structure used to represent value to be used when the attribute is not
|
|
|
|
* present at all in a tuple, i.e. when the column was created after the tuple
|
|
|
|
*/
|
2019-01-15 01:15:20 +01:00
|
|
|
typedef struct AttrMissing
|
2018-03-28 02:13:52 +02:00
|
|
|
{
|
2018-06-27 04:46:13 +02:00
|
|
|
bool am_present; /* true if non-NULL missing value exists */
|
|
|
|
Datum am_value; /* value when attribute is missing */
|
2018-03-28 02:13:52 +02:00
|
|
|
} AttrMissing;
|
|
|
|
|
|
|
|
#endif /* TUPDESC_DETAILS_H */
|