clarification..

Started by Dhanaraj Malmost 20 years ago2 messagesbugs
Jump to latest
#1Dhanaraj M
Dhanaraj.M@Sun.COM

I saw the following item in the TODO list

Functions:

* Add SPI_gettypmod() to return the typemod for a TupleDesc

What is the purpose of adding this function?

#2Bruce Momjian
bruce@momjian.us
In reply to: Dhanaraj M (#1)
Re: clarification..

Dhanaraj M wrote:
[ Charset ISO-8859-1 unsupported, converting... ]

I saw the following item in the TODO list

Functions:

* Add SPI_gettypmod() to return the typemod for a TupleDesc

What is the purpose of adding this function?

It allows SPI functions to query the Tuple's typemod values, rather than
groveling through the structure. I am not sure how that would be done.

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +