patch for implementing SPI_gettypemod()

From: Chetan Suttraway <chetan(dot)suttraway(at)enterprisedb(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: patch for implementing SPI_gettypemod()
Date: 2012-02-01 10:23:53
Message-ID: CAPtHcnFQ3z26PEYPn3qx++qhdswaL13R=Jxvz3qn9xMFu=PH7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Website: www.enterprisedb.com
EnterpriseDB Blog : http://blogs.enterprisedb.com
Follow us on Twitter : http://www.twitter.com/enterprisedb

Attachment Content-Type Size
add_spigettypmod.patch text/x-diff 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-02-01 10:25:58 Refactoring log_newpage
Previous Message Marko Kreen 2012-02-01 09:52:27 Re: Speed dblink using alternate libpq tuple storage