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

From Martijn van Oosterhout
Subject Re: column ordering, was Re: [PATCHES] Enums patch v2
Date
Msg-id 20061220133830.GE12639@svana.org
Whole thread Raw
In response to Re: column ordering, was Re: [PATCHES] Enums patch v2  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: column ordering, was Re: [PATCHES] Enums patch v2  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Wed, Dec 20, 2006 at 07:20:14AM -0600, Kenneth Marshall wrote:
> On Wed, Dec 20, 2006 at 01:26:59PM +0100, Peter Eisentraut wrote:
> > Am Mittwoch, 20. Dezember 2006 04:44 schrieb Tom Lane:
> > > If you can show me a reasonably bulletproof or machine-checkable way to
> > > keep the two kinds of column numbers distinct, I'd be all for it.
> >
> > The only way I can see is to make the domains of the numbers distinct.
> >
> Negative vs. positive numbers?

Negative is used by system columns. Just adding some large constant
(say 10000) should be enough.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: Interface for pg_autovacuum
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Load distributed checkpoint