mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Remove all the special-case code for INT64_IS_BUSTED, per decision that
we're not going to support that anymore. I did keep the 64-bit-CRC-with-32-bit-arithmetic code, since it has a performance excuse to live. It's a bit moot since that's all ifdef'd out, of course.
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
* Copyright (c) 1998-2010, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/numeric.c,v 1.120 2010/01/02 16:57:54 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/numeric.c,v 1.121 2010/01/07 04:53:34 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -2808,16 +2808,8 @@ int8_sum(PG_FUNCTION_ARGS)
|
||||
|
||||
typedef struct Int8TransTypeData
|
||||
{
|
||||
#ifndef INT64_IS_BUSTED
|
||||
int64 count;
|
||||
int64 sum;
|
||||
#else
|
||||
/* "int64" isn't really 64 bits, so fake up properly-aligned fields */
|
||||
int32 count;
|
||||
int32 pad1;
|
||||
int32 sum;
|
||||
int32 pad2;
|
||||
#endif
|
||||
} Int8TransTypeData;
|
||||
|
||||
Datum
|
||||
|
Reference in New Issue
Block a user