summaryrefslogtreecommitdiff
path: root/src/include/parser/parse_oper.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-07-04 02:51:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-07-04 02:51:34 +0000
commit79fafdf49ca9b5adbe36fb21facddb4ef1d81241 (patch)
tree899cad919aba943e324e24b30dd7aa6183c0a901 /src/include/parser/parse_oper.h
parentcdb8a844e62c50e87d5eef19ee29b50837b1c460 (diff)
Some early work on error message editing. Operator-not-found and
function-not-found messages now distinguish the cases no-match and ambiguous-match, and they follow the style guidelines too.
Diffstat (limited to 'src/include/parser/parse_oper.h')
-rw-r--r--src/include/parser/parse_oper.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/parser/parse_oper.h b/src/include/parser/parse_oper.h
index 3fd5eea2a8a..a53b1a5a23e 100644
--- a/src/include/parser/parse_oper.h
+++ b/src/include/parser/parse_oper.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_oper.h,v 1.29 2003/06/29 00:33:44 tgl Exp $
+ * $Id: parse_oper.h,v 1.30 2003/07/04 02:51:34 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,9 +21,10 @@
typedef HeapTuple Operator;
/* Routines to look up an operator given name and exact input type(s) */
-extern Oid LookupOperName(List *opername, Oid oprleft, Oid oprright);
+extern Oid LookupOperName(List *opername, Oid oprleft, Oid oprright,
+ bool noError);
extern Oid LookupOperNameTypeNames(List *opername, TypeName *oprleft,
- TypeName *oprright, const char *caller);
+ TypeName *oprright, bool noError);
/* Routines to find operators matching a name and given input types */
/* NB: the selected operator may require coercion of the input types! */