Thread: clarification..
View Single Post

   
  #2 (permalink)  
Old 04-10-2008, 10:04 AM
Bruce Momjian
 
Posts: n/a
Default 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. +

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote