From 8ab6a6b4562efcd9f320353d5438fdbe10dbf9c5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 3 Sep 2010 01:26:52 +0000 Subject: In HEAD only, revert kluge solution for preventing misuse of pg_get_expr(). A data-type-based solution, which is much cleaner and more bulletproof, will follow shortly. It seemed best to make this a separate commit though. --- src/include/parser/parse_func.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/parser/parse_func.h') diff --git a/src/include/parser/parse_func.h b/src/include/parser/parse_func.h index 8b2fd94bbaa..50e69537a3b 100644 --- a/src/include/parser/parse_func.h +++ b/src/include/parser/parse_func.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/parse_func.h,v 1.69 2010/07/29 23:16:33 tgl Exp $ + * $PostgreSQL: pgsql/src/include/parser/parse_func.h,v 1.70 2010/09/03 01:26:52 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -82,6 +82,4 @@ extern Oid LookupFuncNameTypeNames(List *funcname, List *argtypes, extern Oid LookupAggNameTypeNames(List *aggname, List *argtypes, bool noError); -extern void check_pg_get_expr_args(ParseState *pstate, Oid fnoid, List *args); - #endif /* PARSE_FUNC_H */ -- cgit v1.2.3