Re: sequence.c compile failure

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Marko Kreen <marko(at)l-t(dot)ee>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: sequence.c compile failure
Date: 2001-06-11 16:43:42
Message-ID: 200106111643.f5BGhgn18318@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-06-11 16:44:40 Re: reset all update
Previous Message Bruce Momjian 2001-06-11 16:36:25 Re: 7.1 odbc bug & patch