From 901be0fad4034c9cf8a3588fd6cf2ece82e4b8ce Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 7 Jan 2010 04:53:35 +0000 Subject: 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. --- src/backend/utils/adt/numeric.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/backend/utils/adt/numeric.c') diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c index de9479dada1..2892b5d2fbf 100644 --- a/src/backend/utils/adt/numeric.c +++ b/src/backend/utils/adt/numeric.c @@ -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 -- cgit v1.2.3