From 79fafdf49ca9b5adbe36fb21facddb4ef1d81241 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 4 Jul 2003 02:51:34 +0000 Subject: 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. --- src/include/parser/parse_oper.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/include/parser/parse_oper.h') 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! */ -- cgit v1.2.3