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

Commit1076335

Browse files
committed
Remove absolete function TupleDescGetSlot().
TupleDescGetSlot() was kept around for backward compatibility foruser-written SRFs. With the TupleTableSlot abstraction work, that codewill need to be version specific anyway, so there's no point inkeeping the function around any longer.Author: Ashutosh BapatReviewed-By: Andres FreundDiscussion:https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
1 parent29c94e0 commit1076335

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

‎src/backend/executor/execTuples.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,28 +1125,6 @@ BlessTupleDesc(TupleDesc tupdesc)
11251125
returntupdesc;/* just for notational convenience */
11261126
}
11271127

1128-
/*
1129-
* TupleDescGetSlot - Initialize a slot based on the supplied tupledesc
1130-
*
1131-
* Note: this is obsolete; it is sufficient to call BlessTupleDesc on
1132-
* the tupdesc. We keep it around just for backwards compatibility with
1133-
* existing user-written SRFs.
1134-
*/
1135-
TupleTableSlot*
1136-
TupleDescGetSlot(TupleDesctupdesc)
1137-
{
1138-
TupleTableSlot*slot;
1139-
1140-
/* The useful work is here */
1141-
BlessTupleDesc(tupdesc);
1142-
1143-
/* Make a standalone slot */
1144-
slot=MakeSingleTupleTableSlot(tupdesc);
1145-
1146-
/* Return the slot */
1147-
returnslot;
1148-
}
1149-
11501128
/*
11511129
* TupleDescGetAttInMetadata - Build an AttInMetadata structure based on the
11521130
* supplied TupleDesc. AttInMetadata can be used in conjunction with C strings

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp