Re: [HACKERS] USE_LOCALE and unsigned char *

From: t-ishii(at)sra(dot)co(dot)jp (Tatsuo Ishii)
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, andreas(dot)zeugswetter(at)telecom(dot)at (Andreas Zeugswetter)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] USE_LOCALE and unsigned char *
Date: 1998-09-03 00:37:03
Message-ID: 199809030038.JAA22816@meshsv26.tk.mesh.ad.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 7:18 PM 98.9.2 -0400, Bruce Momjian wrote:
>> It currently looks like all developers are on a platform where USE_LOCALE is
>>defined.
>>
>> If it is not defined (e.g. on AIX) I get all sorts of
>> Function argument assignment between types "unsigned char*" and "char*" is
>>not allowed.
>>
>> I gather unsigned char's are only supposed to show up in a USE_LOCALE
>>environment.
>>
>> backend/util/adt/varlena.c
>> backend/commands/copy.c
>> include/utils/builtins.h
>>
>> Andreas
>
>
>
>
>I #ifdef USE_LOCALE around varlena.c, but I don't see the other ones.
>Send in some patches, OK?

I think I am responsible of some of "unisigned char problems."
I will look into these as soon as I confirm Bruce's fix works
for LinuxPPC. Ok?

--
Tatsuo Ishii
t-ishii(at)sra(dot)co(dot)jp

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Keith Parks 1998-09-03 00:46:24 Re: [HACKERS] Fix for initdb/indexing problems
Previous Message Bruce Momjian 1998-09-02 23:28:09 Re: [HACKERS] 6.4 HISTORY file