sequence.c compile failure

From: Marko Kreen <marko(at)l-t(dot)ee>
To: pgsql-patches(at)postgresql(dot)org
Subject: sequence.c compile failure
Date: 2001-06-11 09:14:18
Message-ID: 20010611111417.A3183@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


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';

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Marko Kreen 2001-06-11 09:40:08 reset all update
Previous Message Bruce Momjian 2001-06-11 04:57:21 Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal