Skip to content

Commit 0390298

Browse files
committed
1 parent 60f7c0a commit 0390298

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/backend/tcop/postgres.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,20 +1361,6 @@ exec_parse_message(const char *query_string, /* string to execute */
13611361
&paramTypes,
13621362
&numParams);
13631363

1364-
/*
1365-
* Check all parameter types got determined.
1366-
*/
1367-
for (i = 0; i < numParams; i++)
1368-
{
1369-
Oid ptype = paramTypes[i];
1370-
1371-
if (ptype == InvalidOid || ptype == UNKNOWNOID)
1372-
ereport(ERROR,
1373-
(errcode(ERRCODE_INDETERMINATE_DATATYPE),
1374-
errmsg("could not determine data type of parameter $%d",
1375-
i + 1)));
1376-
}
1377-
13781364
if (log_parser_stats)
13791365
ShowUsage("PARSE ANALYSIS STATISTICS");
13801366

0 commit comments

Comments
 (0)