Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group