Re: [HACKERS] USE_LOCALE and unsigned char * - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] USE_LOCALE and unsigned char *
Date
Msg-id 199809022318.TAA17722@candle.pha.pa.us
Whole thread Raw
In response to USE_LOCALE and unsigned char *  (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>)
Responses Re: [HACKERS] USE_LOCALE and unsigned char *  (t-ishii@sra.co.jp (Tatsuo Ishii))
List pgsql-hackers
> 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?

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Fix for initdb/indexing problems
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 6.4 HISTORY file