1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Make comments reflect that omission of SPI_gettypmod() is intentional.

This commit is contained in:
Noah Misch
2013-07-12 18:07:46 -04:00
parent e852c5df2d
commit 448fee2e23
2 changed files with 6 additions and 3 deletions

View File

@ -940,6 +940,12 @@ SPI_gettype(TupleDesc tupdesc, int fnumber)
return result;
}
/*
* Get the data type OID for a column.
*
* There's nothing similar for typmod and typcollation. The rare consumers
* thereof should inspect the TupleDesc directly.
*/
Oid
SPI_gettypeid(TupleDesc tupdesc, int fnumber)
{