diff options
Diffstat (limited to 'src/backend/executor/execTuples.c')
-rw-r--r-- | src/backend/executor/execTuples.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c index 573677af725..716c04939cd 100644 --- a/src/backend/executor/execTuples.c +++ b/src/backend/executor/execTuples.c @@ -1126,28 +1126,6 @@ BlessTupleDesc(TupleDesc tupdesc) } /* - * TupleDescGetSlot - Initialize a slot based on the supplied tupledesc - * - * Note: this is obsolete; it is sufficient to call BlessTupleDesc on - * the tupdesc. We keep it around just for backwards compatibility with - * existing user-written SRFs. - */ -TupleTableSlot * -TupleDescGetSlot(TupleDesc tupdesc) -{ - TupleTableSlot *slot; - - /* The useful work is here */ - BlessTupleDesc(tupdesc); - - /* Make a standalone slot */ - slot = MakeSingleTupleTableSlot(tupdesc); - - /* Return the slot */ - return slot; -} - -/* * TupleDescGetAttInMetadata - Build an AttInMetadata structure based on the * supplied TupleDesc. AttInMetadata can be used in conjunction with C strings * to produce a properly formed tuple. |