Re: genomic locus - Mailing list pgsql-hackers

From Robert Haas
Subject Re: genomic locus
Date
Msg-id CA+TgmoZAb=f5GOoibpYVV_sV1zmONJgq_cpGTcryCjzfFiaspA@mail.gmail.com
Whole thread Raw
In response to genomic locus  (Gene Selkov <selkovjr@gmail.com>)
Responses Re: genomic locus
List pgsql-hackers
On Fri, Dec 15, 2017 at 2:49 PM, Gene Selkov <selkovjr@gmail.com> wrote:
> I need a data type to represent genomic positions, which will consist of a
> string and a pair of integers with interval logic and access methods. Sort
> of like my seg type, but more straightforward.
>
> I noticed somebody took a good care of seg while I was away for the last 20
> years, and I am extremely grateful for that. I have been using it. In the
> meantime, things have changed and now I am almost clueless about how you
> deal with contributed modules and what steps I should take once I get it to
> work. Also, is it a good idea to clone and fix seg for this purpose, or is
> there a more appropriate template? Or maybe just building it from scratch
> will be a better idea?

Have you thought about just using a composite type?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: worker_spi example BGW code GUC tweak
Next
From: Robert Haas
Date:
Subject: Re: worker_spi example BGW code GUC tweak