mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
> David Hartwig wrote:
> > Please apply this HAVING regression patch. > > My bad. It is caused by a known bug having to do with GROUP BY. It ain't$ > > nothing to do with HAVING. For some reason the bug went away for a while, $ > > script. It must have, because that is how I created the expected file. :( > > > > A patch to the regression will be forthcoming. >
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.42 1998/09/01 04:32:54 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.43 1998/09/02 23:37:08 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -610,9 +610,11 @@ byteaGetByte(text *v, int32 n)
|
||||
elog(ERROR, "byteaGetByte: index (=%d) out of range [0..%d]",
|
||||
n, len - 1);
|
||||
}
|
||||
|
||||
#ifdef USE_LOCALE
|
||||
byte = (unsigned char) (v->vl_dat[n]);
|
||||
|
||||
#else
|
||||
byte = v->vl_dat[n];
|
||||
#endif
|
||||
return (int32) byte;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user