patch for implementing SPI_gettypemod() - Mailing list pgsql-hackers

From Chetan Suttraway
Subject patch for implementing SPI_gettypemod()
Date
Msg-id CAPtHcnFQ3z26PEYPn3qx++qhdswaL13R=Jxvz3qn9xMFu=PH7g@mail.gmail.com
Whole thread Raw
Responses Re: patch for implementing SPI_gettypemod()  (Robert Haas <robertmhaas@gmail.com>)
Re: patch for implementing SPI_gettypemod()  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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

EnterpriseDB Blog : http://blogs.enterprisedb.com




Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Refactoring log_newpage
Next
From: Shigeru Hanada
Date:
Subject: Re: pgsql_fdw, FDW for PostgreSQL server