opfam_internal.h 869 B

12345678910111213141516171819202122232425262728
  1. /*-------------------------------------------------------------------------
  2. *
  3. * opfam_internal.h
  4. *
  5. * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
  6. * Portions Copyright (c) 1994, Regents of the University of California
  7. *
  8. * src/include/catalog/opfam_internal.h
  9. *
  10. *-------------------------------------------------------------------------
  11. */
  12. #ifndef OPFAM_INTERNAL_H
  13. #define OPFAM_INTERNAL_H
  14. /*
  15. * We use lists of this struct type to keep track of both operators and
  16. * procedures while building or adding to an opfamily.
  17. */
  18. typedef struct
  19. {
  20. Oid object; /* operator or support proc's OID */
  21. int number; /* strategy or support proc number */
  22. Oid lefttype; /* lefttype */
  23. Oid righttype; /* righttype */
  24. Oid sortfamily; /* ordering operator's sort opfamily, or 0 */
  25. } OpFamilyMember;
  26. #endif /* OPFAM_INTERNAL_H */