Re: column ordering, was Re: [PATCHES] Enums patch v2 - Mailing list pgsql-hackers

From Richard Huxton
Subject Re: column ordering, was Re: [PATCHES] Enums patch v2
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: column ordering, was Re: [PATCHES] Enums patch v2  (Andrew Dunstan <[email protected]>)
List pgsql-hackers
Andrew Dunstan wrote:
> 
> Or we could divide the positive number space in two, by starting at 2^14 
> (attnums are int2). Then a simple bitmask test would work to distinguish 
> them.

Perhaps divide-by-four, then it would be possible to have calculated 
columns (as mentioned recently on one of the lists). In particular, that 
would let you have FK constraints with a constant as part of the key.

--   Richard Huxton  Archonet Ltd


pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: [PATCHES] Bundle of patches
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Bundle of patches