2
0

tupdesc_details.h 865 B

12345678910111213141516171819202122232425262728
  1. /*-------------------------------------------------------------------------
  2. *
  3. * tupdesc_details.h
  4. * POSTGRES tuple descriptor definitions we can't include everywhere
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/access/tupdesc_details.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef TUPDESC_DETAILS_H
  15. #define TUPDESC_DETAILS_H
  16. /*
  17. * Structure used to represent value to be used when the attribute is not
  18. * present at all in a tuple, i.e. when the column was created after the tuple
  19. */
  20. typedef struct AttrMissing
  21. {
  22. bool am_present; /* true if non-NULL missing value exists */
  23. Datum am_value; /* value when attribute is missing */
  24. } AttrMissing;
  25. #endif /* TUPDESC_DETAILS_H */