view.h 679 B

1234567891011121314151617181920212223242526
  1. /*-------------------------------------------------------------------------
  2. *
  3. * view.h
  4. *
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/commands/view.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef VIEW_H
  15. #define VIEW_H
  16. #include "catalog/objectaddress.h"
  17. #include "nodes/parsenodes.h"
  18. extern void validateWithCheckOption(char *value);
  19. extern ObjectAddress DefineView(ViewStmt *stmt, const char *queryString);
  20. extern void StoreViewQuery(Oid viewOid, Query *viewParse, bool replace);
  21. #endif /* VIEW_H */