gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 line
729B

  1. /*-------------------------------------------------------------------------
  2. *
  3. * attoptcache.h
  4. * Attribute options cache.
  5. *
  6. * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/utils/attoptcache.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef ATTOPTCACHE_H
  14. #define ATTOPTCACHE_H
  15. /*
  16. * Attribute options.
  17. */
  18. typedef struct AttributeOpts
  19. {
  20. int32 vl_len_; /* varlena header (do not touch directly!) */
  21. float8 n_distinct;
  22. float8 n_distinct_inherited;
  23. } AttributeOpts;
  24. AttributeOpts *get_attribute_options(Oid spcid, int attnum);
  25. #endif /* ATTOPTCACHE_H */
上海开阖软件有限公司 沪ICP备12045867号-1