| 1 | /* |
| 2 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | * |
| 6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _REL_PSM_H_ |
| 10 | #define _REL_PSM_H_ |
| 11 | |
| 12 | #include "sql_list.h" |
| 13 | #include "sql_relation.h" |
| 14 | #include "sql_symbol.h" |
| 15 | #include "sql_mvc.h" |
| 16 | #include "sql_query.h" |
| 17 | |
| 18 | extern sql_func *resolve_func( mvc *sql, sql_schema *s, const char *name, dlist *typelist, sql_ftype type, char *op, int if_exists); |
| 19 | extern sql_rel *rel_psm_block(sql_allocator *sa, list *l); |
| 20 | extern sql_rel *rel_psm(sql_query *query, symbol *sym); |
| 21 | extern sql_rel *rel_select_with_into( sql_query *query, symbol *sq); |
| 22 | |
| 23 | extern sql_rel *rel_psm_stmt(sql_allocator *sa, sql_exp *e); |
| 24 | |
| 25 | #endif /*_REL_PSM_H_*/ |
| 26 | |