From 4b8f1bcb9cbc297c63521bcb3ea64e9eed29ff8a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 20 Aug 2000 00:44:19 +0000 Subject: Make functional indexes accept binary-compatible functions, for example CREATE INDEX fooi ON foo (lower(f1)) where f1 is varchar rather than text. --- src/include/parser/parse_func.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include/parser') diff --git a/src/include/parser/parse_func.h b/src/include/parser/parse_func.h index 79b193a2b5..be96652cfb 100644 --- a/src/include/parser/parse_func.h +++ b/src/include/parser/parse_func.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parse_func.h,v 1.25 2000/08/08 15:42:59 tgl Exp $ + * $Id: parse_func.h,v 1.26 2000/08/20 00:44:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -45,6 +45,10 @@ extern Node *ParseFuncOrColumn(ParseState *pstate, bool agg_star, bool agg_distinct, int *curr_resno, int precedence); +extern bool func_get_detail(char *funcname, int nargs, Oid *argtypes, + Oid *funcid, Oid *rettype, + bool *retset, Oid **true_typeids); + extern bool typeInheritsFrom(Oid subclassTypeId, Oid superclassTypeId); extern void func_error(char *caller, char *funcname, -- cgit v1.2.1