|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.96 2000/12/27 23:59:11 tgl Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.97 2001/01/23 02:32:26 tgl Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -1479,11 +1479,6 @@ setup_field_select(Node *input, char *attname, Oid relid)
|
1479 | 1479 |
|
1480 | 1480 | attno=get_attnum(relid,attname);
|
1481 | 1481 |
|
1482 |
| -/* XXX Is there still a reason for this restriction? */ |
1483 |
| -if (attno<0) |
1484 |
| -elog(ERROR,"Cannot reference attribute '%s'" |
1485 |
| -" of tuple params/return values for functions",attname); |
1486 |
| - |
1487 | 1482 | fselect->arg=input;
|
1488 | 1483 | fselect->fieldnum=attno;
|
1489 | 1484 | fselect->resulttype=get_atttype(relid,attno);
|
|