Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb686fb5

Browse files
committed
Remove no-longer-needed restriction against referencing system
attributes in a FieldSelect node --- all the places that manipulatethese work just fine with system attribute numbers. OK, it's a newfeature, so shoot me ...
1 parente5cdecd commitb686fb5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎src/backend/parser/parse_func.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* 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 $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1479,11 +1479,6 @@ setup_field_select(Node *input, char *attname, Oid relid)
14791479

14801480
attno=get_attnum(relid,attname);
14811481

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-
14871482
fselect->arg=input;
14881483
fselect->fieldnum=attno;
14891484
fselect->resulttype=get_atttype(relid,attno);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp