patch for implementing SPI_gettypemod()
Chetan Suttraway <chetan.suttraway@enterprisedb.com>
From: Chetan Suttraway <chetan.suttraway@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-02-01T10:23:53Z
Lists: pgsql-hackers
Attachments
- add_spigettypmod.patch (text/x-diff) patch
Hi All, This is regarding the TODO item : "Add SPI_gettypmod() to return a field's typemod from a TupleDesc" The related message is: http://archives.postgresql.org/pgsql-hackers/2005-11/msg00250.php This basically talks about having an SPI_gettypemod() which returns the typmod of a field of tupdesc Please refer the attached patch based on the suggested implementation. Regards, Chetan -- EnterpriseDB Corporation The Enterprise PostgreSQL Company Website: www.enterprisedb.com EnterpriseDB Blog : http://blogs.enterprisedb.com Follow us on Twitter : http://www.twitter.com/enterprisedb