Re: Add SPI_gettypmod() fucntion

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Miguel Angel de Blas Burdalo'" <migueldeblas(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add SPI_gettypmod() fucntion
Date: 2013-04-12 01:29:54
Message-ID: 004501ce371d$3d039fb0$b70adf10$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday, April 12, 2013 4:24 AM Miguel Angel de Blas Burdalo wrote:
> Hi hackers,
> My name is Miguel Angel de Blas. I'm newbie and it's my first collaboration so I hope it's correct ;-)

> I created a function SPI_gettypmod:
> int32 SPI_gettypmod(TupleDesc tupdesc, int fnumber);
> Return -1 when type not need type-specific data or error.

> ref TODO:

> Add SPI_gettypmod() to return a field's typemod from a TupleDesc
> • http://archives.postgresql.org/pgsql-hackers/2005-11/msg00250.php

Mark Wong has already proposed a patch in next Commit Fest for this feature. Please refer below Commit Fest entry:
https://commitfest.postgresql.org/action/patch_view?id=1082

With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-04-12 01:32:07 Re: [HACKERS] after 9.2.4 patch vacuumdb -avz not analyzing all tables
Previous Message Jeff Janes 2013-04-12 01:15:49 Re: [ADMIN] after 9.2.4 patch vacuumdb -avz not analyzing all tables