RangeType internal use

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: RangeType internal use
Date: 2015-02-06 00:32:08
Message-ID: 54D40B88.2000602@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I wonder why I cannot find a way to get a range type for a given (sub-)
type. I would like to build a RangeType from Datum's of lower and upper
bounds. Much like how construct_array() builds an ArrayType from a Datum
array of elements given elements' type info.

Is there some way I do not seem to know? If not, would it be worthwhile
to make something like construct_range() that returns a RangeType given
Datum's of lower and upper bounds and subtype info?

Thanks,
Amit

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Naoya Anzai 2015-02-06 00:39:56 Re: Table-level log_autovacuum_min_duration
Previous Message Dan Langille 2015-02-05 22:53:42 HEADS UP: PGCon 2015 major schedule changes