Skip to content

Commit be8cdc1

Browse files
committed
adding postgis extension
1 parent 2d46e08 commit be8cdc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PostgreSQL/src/backend/parser/parse_rec.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,10 @@ userWhereClause(Node* whereClause, char *userkey) {
11131113
if (!whereClause)
11141114
return NULL;
11151115

1116-
// Turns out this isn't necessarily an A_Expr.
1116+
// Turns out this isn't necessarily an A_Expr. POSTGIS Support
1117+
if (nodeTag(whereClause) == T_FuncCall)
1118+
return makeTrueConst();
1119+
11171120
if (nodeTag(whereClause) != T_A_Expr)
11181121
return NULL;
11191122

0 commit comments

Comments
 (0)