parse_collate.h 833 B

123456789101112131415161718192021222324252627
  1. /*-------------------------------------------------------------------------
  2. *
  3. * parse_collate.h
  4. * Routines for assigning collation information.
  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/parser/parse_collate.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef PARSE_COLLATE_H
  15. #define PARSE_COLLATE_H
  16. #include "parser/parse_node.h"
  17. extern void assign_query_collations(ParseState *pstate, Query *query);
  18. extern void assign_list_collations(ParseState *pstate, List *exprs);
  19. extern void assign_expr_collations(ParseState *pstate, Node *expr);
  20. extern Oid select_common_collation(ParseState *pstate, List *exprs, bool none_ok);
  21. #endif /* PARSE_COLLATE_H */