Add SPI_gettypmod() fucntion

From: Miguel Angel de Blas Burdalo <migueldeblas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Add SPI_gettypmod() fucntion
Date: 2013-04-11 22:53:36
Message-ID: CACU_9h9eKxgJd+wUiEv4A6VbgcGLfn3Ki4y-RSWHT-O0943uPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

My name is Miguel Angel de Blas. I'm newbie and it's my first collaborationso 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

Regards

Attachment Content-Type Size
SPI_gettypmod.patch application/octet-stream 3.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-04-11 23:59:14 Re: after 9.2.4 patch vacuumdb -avz not analyzing all tables
Previous Message Bruce Momjian 2013-04-11 20:31:15 Re: Viewing new 9.3 error fields