Обсуждение: Re: [HACKERS] INT2OID, etc.

Поиск
Список
Период
Сортировка

Re: [HACKERS] INT2OID, etc.

От
darrenk@insightdist.com (Darren King)
Дата:
> Brett McCormick wrote:
> >
> > Can we have all the constants put in pg_type?  In the implementation
> > of my perl PL language, some types I care about aren't defined so I
> > must define them myself, which seems dangerous (should they ever
> > change)
> >
> > On Fri, 27 February 1998, at 12:15:21, Vadim B. Mikheev wrote:
> >
> > > I like second way (and so - we should copy pg_type to ~pgsql/include or
> > > something like this) but it would be nice if you support more
> > > general 1st way too.
>
> We should do this.

Is there anything to prevent someone from deleting that function and
then recreating it?  If that happens, it will then have a different oid.

darrenk