2
0

matview.h 945 B

123456789101112131415161718192021222324252627282930313233
  1. /*-------------------------------------------------------------------------
  2. *
  3. * matview.h
  4. * prototypes for matview.c.
  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/commands/matview.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef MATVIEW_H
  15. #define MATVIEW_H
  16. #include "catalog/objectaddress.h"
  17. #include "nodes/params.h"
  18. #include "nodes/parsenodes.h"
  19. #include "tcop/dest.h"
  20. #include "utils/relcache.h"
  21. extern void SetMatViewPopulatedState(Relation relation, bool newstate);
  22. extern ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
  23. ParamListInfo params, QueryCompletion *qc);
  24. extern DestReceiver *CreateTransientRelDestReceiver(Oid oid);
  25. extern bool MatViewIncrementalMaintenanceIsEnabled(void);
  26. #endif /* MATVIEW_H */