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

Appearance settings

Commit 1076335

Browse filesBrowse files
committed
Remove absolete function TupleDescGetSlot().
TupleDescGetSlot() was kept around for backward compatibility for user-written SRFs. With the TupleTableSlot abstraction work, that code will need to be version specific anyway, so there's no point in keeping the function around any longer. Author: Ashutosh Bapat Reviewed-By: Andres Freund Discussion: https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
1 parent 29c94e0 commit 1076335
Copy full SHA for 1076335

File tree

Expand file treeCollapse file tree

1 file changed

+0
-22
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-22
lines changed

‎src/backend/executor/execTuples.c

Copy file name to clipboardExpand all lines: src/backend/executor/execTuples.c
-22Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,28 +1125,6 @@ BlessTupleDesc(TupleDesc tupdesc)
11251125
return tupdesc; /* 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(TupleDesc tupdesc)
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-
return slot;
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.