Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 988fe9a

Browse files
committed
remove function clause_contains_params()
1 parent bfa56c9 commit 988fe9a

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/utils.c

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,6 @@
3434
#include "utils/typcache.h"
3535

3636

37-
static bool clause_contains_params_walker(Node *node, void *context);
38-
39-
40-
/*
41-
* Check whether clause contains PARAMs or not
42-
*/
43-
bool
44-
clause_contains_params(Node *clause)
45-
{
46-
return expression_tree_walker(clause,
47-
clause_contains_params_walker,
48-
NULL);
49-
}
50-
51-
static bool
52-
clause_contains_params_walker(Node *node, void *context)
53-
{
54-
if (node == NULL)
55-
return false;
56-
if (IsA(node, Param))
57-
return true;
58-
return expression_tree_walker(node,
59-
clause_contains_params_walker,
60-
context);
61-
}
62-
6337
/*
6438
* Check if this is a "date"-related type.
6539
*/

0 commit comments

Comments
 (0)