Skip site navigation (1) Skip section navigation (2)

AW: [HACKERS] varchar() vs char16 performance

From: Zeugswetter Andreas <andreas(dot)zeugswetter(at)telecom(dot)at>
To: "'Thomas G(dot) Lockhart'" <lockhart(at)alumni(dot)caltech(dot)edu>, "'pgsql-hackers(at)hub(dot)org'" <pgsql-hackers(at)hub(dot)org>
Subject: AW: [HACKERS] varchar() vs char16 performance
Date: 1998-03-19 16:55:32
Message-ID: 01BD5360.37B952E0@pc9358.sd.spardat.at (view raw or flat)
Thread:
Lists: pgsql-hackers
I had thought that char2-16 add _no_ functionality over the char() and
varchar() types; Tatsuo points out at least one capability which they
have. Are there any others?

They give and take a char * pointer to a C function like
create function upper(char16)
returning char16 as '/u/my/upper.so' language 'sql';
whereas char() gives a varlena pointer.

Andreas





Responses

pgsql-hackers by date

Next:From: The Hermit HackerDate: 1998-03-19 17:05:47
Subject: Re: [HACKERS] tables >2GB
Previous:From: Bruce MomjianDate: 1998-03-19 16:19:10
Subject: Re: [HACKERS] tables >2GB

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group