diff options
author | Noah Misch <noah@leadboat.com> | 2013-07-12 18:07:46 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2013-07-12 18:07:46 -0400 |
commit | 448fee2e238ae4797e68d7d15b49f2fc52691547 (patch) | |
tree | d94d898cf5ed1f84a72993d1eb39161ff4612da3 /src/backend/executor | |
parent | e852c5df2ded8b076693d0c0632dcbda107be89e (diff) | |
download | postgresql-448fee2e238ae4797e68d7d15b49f2fc52691547.tar.gz postgresql-448fee2e238ae4797e68d7d15b49f2fc52691547.zip |
Make comments reflect that omission of SPI_gettypmod() is intentional.
Diffstat (limited to 'src/backend/executor')
-rw-r--r-- | src/backend/executor/spi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index 2f9a94d01e5..f30b2cd9333 100644 --- a/src/backend/executor/spi.c +++ b/src/backend/executor/spi.c @@ -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) { |