AW: [HACKERS] varchar() vs char16 performance - Mailing list pgsql-hackers

From Zeugswetter Andreas
Subject AW: [HACKERS] varchar() vs char16 performance
Date
Msg-id 01BD5360.37B952E0@pc9358.sd.spardat.at
Whole thread Raw
List 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





pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] tables >2GB
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: AW: [HACKERS] Re: PL/PgSQL discussion