Re: [HACKERS] varchar() vs char16 performance

From: darrenk(at)insightdist(dot)com (Darren King)
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] varchar() vs char16 performance
Date: 1998-03-11 16:37:11
Message-ID: 9803111637.AA55078@ceodev
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> > Will there be a warning about using a "depreciated type" in 6.4 or are
> > we going to have this gunking up the grammer forever? :)
>
> Good idea. Then we can pull it out of the grammar sometime later. Now,
> if these types are in a loadable module, then we can't actually do
> anything in the parser anyway, since the loadable module would never
> work. Are these character types worth keeping at all? Less support and
> no performance benefit leaves me thinking not...

IMHO, not worth keeping if the performance benefit is gone and the only
real benefit though was the few bytes of header space they saved per field.

They should work as loadable if removed from the parser since they would
be created thru a series of CREATE TYPE, FUNCTION and OPERATOR statements.
Should go thru the parser as just some user-created t[r]ype.

But any benefit from including them in the distribution as loadable would
be negligible. Could be, but no real point, so I vote to depreciate them.

darrenk

Browse pgsql-hackers by date

  From Date Subject
Next Message Kent S. Gordon 1998-03-11 17:04:13 Re: [HACKERS] postgres/alpha problems
Previous Message Thomas G. Lockhart 1998-03-11 16:15:39 Re: [HACKERS] varchar() vs char16 performance