summaryrefslogtreecommitdiff
path: root/src/include/commands/sequence.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands/sequence.h')
-rw-r--r--src/include/commands/sequence.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/include/commands/sequence.h b/src/include/commands/sequence.h
index 4d0b6166cf..680dea3b30 100644
--- a/src/include/commands/sequence.h
+++ b/src/include/commands/sequence.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/sequence.h,v 1.43 2010/01/02 16:58:03 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/sequence.h,v 1.44 2010/01/07 04:53:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,16 +19,9 @@
#include "fmgr.h"
-/*
- * On a machine with no 64-bit-int C datatype, sizeof(int64) will not be 8,
- * but we need this struct type to line up with the way that a sequence
- * table is defined --- and pg_type will say that int8 is 8 bytes anyway.
- * So, we need padding. Ugly but necessary.
- */
typedef struct FormData_pg_sequence
{
NameData sequence_name;
-#ifndef INT64_IS_BUSTED
int64 last_value;
int64 start_value;
int64 increment_by;
@@ -36,22 +29,6 @@ typedef struct FormData_pg_sequence
int64 min_value;
int64 cache_value;
int64 log_cnt;
-#else
- int32 last_value;
- int32 pad1;
- int32 start_value;
- int32 pad2;
- int32 increment_by;
- int32 pad3;
- int32 max_value;
- int32 pad4;
- int32 min_value;
- int32 pad5;
- int32 cache_value;
- int32 pad6;
- int32 log_cnt;
- int32 pad7;
-#endif
bool is_cycled;
bool is_called;
} FormData_pg_sequence;