Re: [HACKERS] USE_LOCALE and unsigned char *

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: 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-02 23:18:26
Message-ID: 199809022318.TAA17722@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-09-02 23:28:09 Re: [HACKERS] 6.4 HISTORY file
Previous Message Bruce Momjian 1998-09-02 23:11:19 Fix for initdb/indexing problems