diff options
author | Tom Lane | 2005-05-30 23:09:07 +0000 |
---|---|---|
committer | Tom Lane | 2005-05-30 23:09:07 +0000 |
commit | 978129f28e0cba0b6364df672fbd1ae88e3397c4 (patch) | |
tree | 94dcfb1cb3494d7981dc9d09c10047129577db40 /src/include/funcapi.h | |
parent | b215fae891a7b0e9bcd7126f3aab1c477d4947b1 (diff) |
Document get_call_result_type() and friends; mark TypeGetTupleDesc()
and RelationNameGetTupleDesc() as deprecated; remove uses of the
latter in the contrib library. Along the way, clean up crosstab()
code and documentation a little.
Diffstat (limited to 'src/include/funcapi.h')
-rw-r--r-- | src/include/funcapi.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/funcapi.h b/src/include/funcapi.h index 2b4bfa28c4d..8acbf3aa3b9 100644 --- a/src/include/funcapi.h +++ b/src/include/funcapi.h @@ -9,7 +9,7 @@ * * Copyright (c) 2002-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/funcapi.h,v 1.17 2005/04/05 06:22:15 tgl Exp $ + * $PostgreSQL: pgsql/src/include/funcapi.h,v 1.18 2005/05/30 23:09:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -181,11 +181,6 @@ extern TupleDesc build_function_result_tupdesc_t(HeapTuple procTuple); * Support to ease writing functions returning composite types * * External declarations: - * TupleDesc RelationNameGetTupleDesc(const char *relname) - Use to get a - * TupleDesc based on a specified relation. - * TupleDesc TypeGetTupleDesc(Oid typeoid, List *colaliases) - Use to get a - * TupleDesc based on a type OID. This can be used to get - * a TupleDesc for a base (scalar) or composite (relation) type. * TupleDesc BlessTupleDesc(TupleDesc tupdesc) - "Bless" a completed tuple * descriptor so that it can be used to return properly labeled tuples. * You need to call this if you are going to use heap_formtuple directly. @@ -203,6 +198,10 @@ extern TupleDesc build_function_result_tupdesc_t(HeapTuple procTuple); * HeapTupleGetDatum(HeapTuple tuple) - convert a HeapTuple to a Datum. * * Obsolete routines and macros: + * TupleDesc RelationNameGetTupleDesc(const char *relname) - Use to get a + * TupleDesc based on a named relation. + * TupleDesc TypeGetTupleDesc(Oid typeoid, List *colaliases) - Use to get a + * TupleDesc based on a type OID. * TupleTableSlot *TupleDescGetSlot(TupleDesc tupdesc) - Builds a * TupleTableSlot, which is not needed anymore. * TupleGetDatum(TupleTableSlot *slot, HeapTuple tuple) - get a Datum |