Skip to content

Commit

Permalink
Mise à jour en version 8.1.23.
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Dec 19, 2010
1 parent 52753f8 commit 500b118
Show file tree
Hide file tree
Showing 5 changed files with 237 additions and 14 deletions.
12 changes: 7 additions & 5 deletions manuel/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1417,13 +1417,13 @@ search_path = '$user, public'</programlisting>
</listitem>
<listitem>
<para>
<literal>fsync_writethrough</literal> (appelle <function>fsync()</function> à chaque
validation, forçant une écriture de tous les caches disque)
<literal>fsync</literal> (appelle <function>fsync()</function> à chaque validation)
</para>
</listitem>
<listitem>
<para>
<literal>fsync</literal> (appelle <function>fsync()</function> à chaque validation)
<literal>fsync_writethrough</literal> (appelle <function>fsync()</function> à chaque
validation, forçant une écriture de tous les caches disque)
</para>
</listitem>
<listitem>
Expand All @@ -1435,8 +1435,10 @@ search_path = '$user, public'</programlisting>
</itemizedlist>
<para>
Toutes ces options ne sont pas disponibles sur toutes les plateformes.
Par défaut, elle correspond à la première méthode supportée de la
liste ci-dessus.
Par défaut, elle correspond à la première méthode supportée par la
plateforme parmi celles de la liste ci-dessus. La seule exception
concerne le système Linux dont la valeur par défaut est
<literal>fdatasync</literal>.
Cette option est configurable au lancement du serveur et dans le fichier
<filename>postgresql.conf</filename>.
</para>
Expand Down
11 changes: 7 additions & 4 deletions manuel/ref/create_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,13 @@ PostgreSQL documentation

<para>
L'accès aux tables référencées dans la vue est déterminé par les droits
du propriétaire de la vue. Cependant, les fonctions appelées dans la vue
sont traitées comme si elles étaient appelées directement
par la requête utilisant la vue. Par conséquent, l'utilisateur de la vue
doit avoir le droit d'appeler toutes les fonctions utilisées par la vue.
du propriétaire de la vue. Dans certains cas, cela peut être utilisé pour
fournir un accès sécurisé. Cependant, toutes les vues ne sont pas
sécurisables&nbsp;; voir <xref linkend="rules-privileges"/> pour des
détails. Les fonctions appelées dans la vue sont traitées de la même façon
que si elles avaient été appelées directement dans la requête utilisant la
vue. Du coup, l'utilisateur d'une vue doit avoir les droits pour appeler
toutes les fonctions utilisées par la vue.
</para>

<para>
Expand Down
219 changes: 219 additions & 0 deletions manuel/release-8.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,225 @@
par $Author: gleu $
révision $Revision: 1317 $ -->

<sect1 id="release-8-1-23">
<title>Release 8.1.23</title>

<note>
<title>Release date</title>
<simpara>2010-12-16</simpara>
</note>

<para>
This release contains a variety of fixes from 8.1.22.
For information about new features in the 8.1 major release, see
<xref linkend="release-8-1"/>.
</para>

<para>
This is expected to be the last <productname>PostgreSQL</productname> release
in the 8.1.X series. Users are encouraged to update to a newer
release branch soon.
</para>

<sect2>
<title>Migration to Version 8.1.23</title>

<para>
A dump/restore is not required for those running 8.1.X.
However, if you are upgrading from a version earlier than 8.1.18,
see the release notes for 8.1.18.
</para>

</sect2>

<sect2>
<title>Changes</title>

<itemizedlist>

<listitem>
<para>
Force the default
<link linkend="guc-wal-sync-method"><varname>wal_sync_method</varname></link>
to be <literal>fdatasync</literal> on Linux (Tom Lane, Marti Raudsepp)
</para>

<para>
The default on Linux has actually been <literal>fdatasync</literal> for many
years, but recent kernel changes caused <productname>PostgreSQL</productname> to
choose <literal>open_datasync</literal> instead. This choice did not result
in any performance improvement, and caused outright failures on
certain filesystems, notably <literal>ext4</literal> with the
<literal>data=journal</literal> mount option.
</para>
</listitem>

<listitem>
<para>
Fix recovery from base backup when the starting checkpoint WAL record
is not in the same WAL segment as its redo point (Jeff Davis)
</para>
</listitem>

<listitem>
<para>
Add support for detecting register-stack overrun on <literal>IA64</literal>
(Tom Lane)
</para>

<para>
The <literal>IA64</literal> architecture has two hardware stacks. Full
prevention of stack-overrun failures requires checking both.
</para>
</listitem>

<listitem>
<para>
Add a check for stack overflow in <function>copyObject()</function> (Tom Lane)
</para>

<para>
Certain code paths could crash due to stack overflow given a
sufficiently complex query.
</para>
</listitem>

<listitem>
<para>
Fix detection of page splits in temporary GiST indexes (Heikki
Linnakangas)
</para>

<para>
It is possible to have a <quote>concurrent</quote> page split in a
temporary index, if for example there is an open cursor scanning the
index when an insertion is done. GiST failed to detect this case and
hence could deliver wrong results when execution of the cursor
continued.
</para>
</listitem>

<listitem>
<para>
Avoid memory leakage while <command>ANALYZE</command>'ing complex index
expressions (Tom Lane)
</para>
</listitem>

<listitem>
<para>
Ensure an index that uses a whole-row Var still depends on its table
(Tom Lane)
</para>

<para>
An index declared like <literal>create index i on t (foo(t.*))</literal>
would not automatically get dropped when its table was dropped.
</para>
</listitem>

<listitem>
<para>
Do not <quote>inline</quote> a SQL function with multiple <literal>OUT</literal>
parameters (Tom Lane)
</para>

<para>
This avoids a possible crash due to loss of information about the
expected result rowtype.
</para>
</listitem>

<listitem>
<para>
Fix constant-folding of <literal>COALESCE()</literal> expressions (Tom Lane)
</para>

<para>
The planner would sometimes attempt to evaluate sub-expressions that
in fact could never be reached, possibly leading to unexpected errors.
</para>
</listitem>

<listitem>
<para>
Add print functionality for <structname>InhRelation</structname> nodes (Tom Lane)
</para>

<para>
This avoids a failure when <varname>debug_print_parse</varname> is enabled
and certain types of query are executed.
</para>
</listitem>

<listitem>
<para>
Fix incorrect calculation of distance from a point to a horizontal
line segment (Tom Lane)
</para>

<para>
This bug affected several different geometric distance-measurement
operators.
</para>
</listitem>

<listitem>
<para>
Fix <application>PL/pgSQL</application>'s handling of <quote>simple</quote>
expressions to not fail in recursion or error-recovery cases (Tom Lane)
</para>
</listitem>

<listitem>
<para>
Fix bug in <filename>contrib/cube</filename>'s GiST picksplit algorithm
(Alexander Korotkov)
</para>

<para>
This could result in considerable inefficiency, though not actually
incorrect answers, in a GiST index on a <type>cube</type> column.
If you have such an index, consider <command>REINDEX</command>ing it after
installing this update.
</para>
</listitem>

<listitem>
<para>
Don't emit <quote>identifier will be truncated</quote> notices in
<filename>contrib/dblink</filename> except when creating new connections
(Itagaki Takahiro)
</para>
</listitem>

<listitem>
<para>
Fix potential coredump on missing public key in
<filename>contrib/pgcrypto</filename> (Marti Raudsepp)
</para>
</listitem>

<listitem>
<para>
Fix memory leak in <filename>contrib/xml2</filename>'s XPath query functions
(Tom Lane)
</para>
</listitem>

<listitem>
<para>
Update time zone data files to <application>tzdata</application> release 2010o
for DST law changes in Fiji and Samoa;
also historical corrections for Hong Kong.
</para>
</listitem>

</itemizedlist>

</sect2>
</sect1>

<sect1 id="release-8-1-22">
<title>Release 8.1.22</title>

Expand Down
7 changes: 3 additions & 4 deletions manuel/rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,8 @@ INSERT INTO lacet VALUES ('sl10', 1000, 'magenta', 40.0, 'inch', 0.0);

<programlisting>CREATE TABLE phone_data (person text, phone text, private boolean);
CREATE VIEW phone_number AS
SELECT person, phone FROM phone_data WHERE NOT private;
SELECT person, CASE WHEN NOT private THEN phone END AS phone
FROM phone_data;
GRANT SELECT ON phone_number TO secretary;
</programlisting>

Expand All @@ -1712,9 +1713,7 @@ GRANT SELECT ON phone_number TO secretary;
<command>grant</command>, la secrétaire peut lancer un <command>select</command>
sur la vue <literal>phone_number</literal>. le système de règles réécrira le
<command>select</command> sur <literal>phone_number</literal> en un
<command>select</command> sur <literal>phone_data</literal> et ajoutera la
qualification que seules les entrées non privées (donc où
<literal>private</literal> est faux) sont désirées. comme l'utilisateur est le
<command>select</command> sur <literal>phone_data</literal>. Comme l'utilisateur est le
propriétaire de <literal>phone_number</literal> et du coup le propriétaire de la
règle, le droit de lecture de <literal>phone_data</literal> est maintenant vérifié
avec ses propres privilèges et la requête est autorisée. La vérification de
Expand Down
2 changes: 1 addition & 1 deletion manuel/version.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!ENTITY version "8.1.22">
<!ENTITY version "8.1.23">
<!ENTITY majorversion "8.1">

0 comments on commit 500b118

Please sign in to comment.