Re: Syntax for partitioning
- From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
- To: Jeff Davis <pgsql(at)j-davis(dot)com>
- Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
- Subject: Re: Syntax for partitioning
- Date: Fri, 30 Oct 2009 19:12:11 +0200
- Message-id: <4AEB1E6B.5030000@enterprisedb.com> <text/plain>
Jeff Davis wrote:
> On Fri, 2009-10-30 at 10:03 +0200, Peter Eisentraut wrote:
>> I can't help but wonder if the period type might better be a generic
>> container for pairs of scalar, totally-ordered types.
>
> That would be ideal. However, it doesn't really look like our type
> system was built to handle that kind of thing.
>
> We could use typmod, I suppose, but even that won't hold a full Oid. Any
> ideas/suggestions?
Wait, it doesn't? A typmod is a 32-bit integer, like Oids. Am I missing
something?
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
Home |
Main Index |
Thread Index