Re: patch for implementing SPI_gettypemod()

From: Chetan Suttraway <chetan(dot)suttraway(at)enterprisedb(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch for implementing SPI_gettypemod()
Date: 2012-02-08 06:58:48
Message-ID: CAPtHcnGHGUA9Uj1=kkCNrP+7HMGsY-s=VJwCbv_e4A+8X1nUPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 8, 2012 at 12:19 PM, Chetan Suttraway <
chetan(dot)suttraway(at)enterprisedb(dot)com> wrote:

>
>
> On Wed, Feb 8, 2012 at 8:15 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
>> On Tue, Feb 7, 2012 at 4:25 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>> > On ons, 2012-02-01 at 15:53 +0530, Chetan Suttraway wrote:
>> >> This is regarding the TODO item :
>> >> "Add SPI_gettypmod() to return a field's typemod from a TupleDesc"
>> >
>> > My first thought was, this should be spelled SPI_gettypmod(). Not sure
>> > what others think.
>>
>> +1.
>>
>>
> The reason for using SPI_gettypemod() name was that I did see
> SPI_gettypeid().
>
> Anyways, will update patch with recommended name.
>
>
> Regards,
> Chetan
>
>
>
Please refer the attached patch which now uses SPI_gettypmod() name.

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.1.patch text/x-diff 1.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2012-02-08 08:13:15 Re: [HACKERS] pgindent README correction
Previous Message Pavel Golub 2012-02-08 06:50:33 Re: Can PQstatus() be used by Application to check connection to postgres periodically?