createas.h 845 B

123456789101112131415161718192021222324252627282930
  1. /*-------------------------------------------------------------------------
  2. *
  3. * createas.h
  4. * prototypes for createas.c.
  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/createas.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef CREATEAS_H
  15. #define CREATEAS_H
  16. #include "catalog/objectaddress.h"
  17. #include "nodes/params.h"
  18. #include "nodes/parsenodes.h"
  19. #include "tcop/dest.h"
  20. extern ObjectAddress ExecCreateTableAs(CreateTableAsStmt *stmt, const char *queryString,
  21. ParamListInfo params, char *completionTag);
  22. extern int GetIntoRelEFlags(IntoClause *intoClause);
  23. extern DestReceiver *CreateIntoRelDestReceiver(IntoClause *intoClause);
  24. #endif /* CREATEAS_H */