Content-Length: 292752 | pFad | https://github.com/postgrespro/postgres_cluster/commit/10763358c3f0df48d2ae39b49b0c93be149cceab

DF Remove absolete function TupleDescGetSlot(). · postgrespro/postgres_cluster@1076335 · GitHub
Skip to content

Commit 1076335

Browse 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

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
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres_cluster/commit/10763358c3f0df48d2ae39b49b0c93be149cceab

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy