| | 66 | <sect1 id="release-7-4-21"> |
|---|
| | 67 | <title>Release 7.4.21</title> |
|---|
| | 68 | |
|---|
| | 69 | <note> |
|---|
| | 70 | <title>Release date</title> |
|---|
| | 71 | <simpara>2008-06-12</simpara> |
|---|
| | 72 | </note> |
|---|
| | 73 | |
|---|
| | 74 | <para> |
|---|
| | 75 | This release contains one serious bug fix over 7.4.20. |
|---|
| | 76 | For information about new features in the 7.4 major release, see |
|---|
| | 77 | <xref linkend="release-7-4">. |
|---|
| | 78 | </para> |
|---|
| | 79 | |
|---|
| | 80 | <sect2> |
|---|
| | 81 | <title>Migration to Version 7.4.21</title> |
|---|
| | 82 | |
|---|
| | 83 | <para> |
|---|
| | 84 | A dump/restore is not required for those running 7.4.X. |
|---|
| | 85 | However, if you are upgrading from a version earlier than 7.4.11, |
|---|
| | 86 | see the release notes for 7.4.11. |
|---|
| | 87 | </para> |
|---|
| | 88 | |
|---|
| | 89 | </sect2> |
|---|
| | 90 | |
|---|
| | 91 | <sect2> |
|---|
| | 92 | <title>Changes</title> |
|---|
| | 93 | |
|---|
| | 94 | <itemizedlist> |
|---|
| | 95 | |
|---|
| | 96 | <listitem> |
|---|
| | 97 | <para> |
|---|
| | 98 | Make <function>pg_get_ruledef()</> parenthesize negative constants (Tom) |
|---|
| | 99 | </para> |
|---|
| | 100 | |
|---|
| | 101 | <para> |
|---|
| | 102 | Before this fix, a negative constant in a view or rule might be dumped |
|---|
| | 103 | as, say, <literal>-42::integer</>, which is subtly incorrect: it should |
|---|
| | 104 | be <literal>(-42)::integer</> due to operator precedence rules. |
|---|
| | 105 | Usually this would make little difference, but it could interact with |
|---|
| | 106 | another recent patch to cause |
|---|
| | 107 | <productname>PostgreSQL</> to reject what had been a valid |
|---|
| | 108 | <command>SELECT DISTINCT</> view query. Since this could result in |
|---|
| | 109 | <application>pg_dump</> output failing to reload, it is being treated |
|---|
| | 110 | as a high-priority fix. The only released versions in which dump |
|---|
| | 111 | output is actually incorrect are 8.3.1 and 8.2.7. |
|---|
| | 112 | </para> |
|---|
| | 113 | </listitem> |
|---|
| | 114 | |
|---|
| | 115 | </itemizedlist> |
|---|
| | 116 | |
|---|
| | 117 | </sect2> |
|---|
| | 118 | </sect1> |
|---|
| | 119 | |
|---|