Re: sequence.c compile failure - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: sequence.c compile failure
Date
Msg-id 200106111643.f5BGhgn18318@candle.pha.pa.us
Whole thread Raw
In response to sequence.c compile failure  (Marko Kreen <marko@l-t.ee>)
List pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

>
> Compile failure when --enable-multibyte.
>
> --
> marko
>
>
> Index: src/backend/commands/sequence.c
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/src/backend/commands/sequence.c,v
> retrieving revision 1.58
> diff -u -c -r1.58 sequence.c
> *** src/backend/commands/sequence.c    2001/06/06 22:03:48    1.58
> --- src/backend/commands/sequence.c    2001/06/11 08:29:59
> ***************
> *** 569,575 ****
>   #ifdef MULTIBYTE
>           int len;
>
> !         len = pg_mbcliplen(seqname, i, NAMEDATALEN-1);
>           seqname[len] = '\0';
>   #else
>           seqname[NAMEDATALEN-1] = '\0';
> --- 569,575 ----
>   #ifdef MULTIBYTE
>           int len;
>
> !         len = pg_mbcliplen(seqname, rawlen, NAMEDATALEN-1);
>           seqname[len] = '\0';
>   #else
>           seqname[NAMEDATALEN-1] = '\0';
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Jason Tishler
Date:
Subject: Re: YA readline 4.2 patch
Next
From: Bruce Momjian
Date:
Subject: Re: 7.1 odbc bug & patch