mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Make functional indexes accept binary-compatible functions, for example
CREATE INDEX fooi ON foo (lower(f1)) where f1 is varchar rather than text.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user