summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-12-21 12:00:00 -0500
committerPeter Eisentraut <peter_e@gmx.net>2016-12-21 09:06:49 -0500
commitf3b421da5f4addc95812b9db05a24972b8fd9739 (patch)
tree89a189a33e6eb712353b5f6397dd728a54d2d9e9 /doc/src
parentecbdc4c555f43b1ac284c734752b00c2ea6f277b (diff)
Reorder pg_sequence columns to avoid alignment issue
On AIX, doubles are aligned at 4 bytes, but int64 is aligned at 8 bytes. Our code assumes that doubles have alignment that can also be applied to int64, but that fails in this case. One effect is that heap_form_tuple() writes tuples in a different layout than Form_pg_sequence expects. Rather than rewrite the whole alignment code, work around the issue by reordering the columns in pg_sequence so that the first int64 column naturally comes out at an 8-byte boundary.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/catalogs.sgml14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 7a7bbde390b..493050618df 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -5628,6 +5628,13 @@
</row>
<row>
+ <entry><structfield>seqcycle</structfield></entry>
+ <entry><type>bool</type></entry>
+ <entry></entry>
+ <entry>Whether the sequence cycles</entry>
+ </row>
+
+ <row>
<entry><structfield>seqstart</structfield></entry>
<entry><type>int8</type></entry>
<entry></entry>
@@ -5661,13 +5668,6 @@
<entry></entry>
<entry>Cache size of the sequence</entry>
</row>
-
- <row>
- <entry><structfield>seqcycle</structfield></entry>
- <entry><type>bool</type></entry>
- <entry></entry>
- <entry>Whether the sequence cycles</entry>
- </row>
</tbody>
</tgroup>
</table>