contrib/intarray/_int_gist.c

From: 维 姜 <jw(dot)pgsql(at)sduept(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: contrib/intarray/_int_gist.c
Date: 2006-04-05 11:32:29
Message-ID: 1144236749.4915.8.camel@dell.sduept.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

In "g_int_compress" :

int *dr;
...
memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand -
1) * sizeof(int));

Should be

int32 *dr;
...
memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand -
1) * sizeof(int32));

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Qingqing Zhou 2006-04-05 11:32:53 Re: BUG #2371: database crashes with semctl failed error
Previous Message William Leite Araújo 2006-04-05 11:28:41 Re: BUG #2372: dblink_exec doesn't return. NEVER!