Re: System vs non-system casts

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: andrew(at)supernews(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: System vs non-system casts
Date: 2005-04-12 17:12:49
Message-ID: 20050412171249.GD25114@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 12, 2005 at 05:04:03PM -0000, Andrew - Supernews wrote:
> On 2005-04-12, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> wrote:
> >> Well perhaps there is an even better solution?
> >
> > What about the simple one of having a bool "pg_cast.castissystem"
> > column, or something similar?
>
> Checking the OID might be sufficient if it were possible to make the OID
> counter restart at some value known to be greater than any datlastsysoid,
> rather than restarting at BootstrapOid.

In fact AFAICT it does start at BootstrapObjectIdData, which is 16384 by
default.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
Management by consensus: I have decided; you concede.
(Leonard Liu)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-04-12 17:42:27 Re: System vs non-system casts
Previous Message Tom Lane 2005-04-12 17:04:20 Re: System vs non-system casts