Skip to content
Permalink
Browse files

Merge de la beta 1.

  • Loading branch information...
gleu committed May 19, 2011
1 parent db0b4ca commit c68caa7fe2bfd90506f58a8887ae75dbe716907f
Showing with 26,619 additions and 10,005 deletions.
  1. +3 −3 postgresql/acronyms.xml
  2. +5 −8 postgresql/advanced.xml
  3. +1 −1 postgresql/array.xml
  4. +67 −0 postgresql/auth-delay.xml
  5. +24 −241 postgresql/backup.xml
  6. +65 −9 postgresql/btree-gist.xml
  7. +970 −113 postgresql/catalogs.xml
  8. +295 −17 postgresql/charset.xml
  9. +203 −79 postgresql/client-auth.xml
  10. +397 −60 postgresql/config.xml
  11. +15 −7 postgresql/contrib-spi.xml
  12. +38 −26 postgresql/contrib.xml
  13. +91 −37 postgresql/datatype.xml
  14. +3 −3 postgresql/datetime.xml
  15. +1 −1 postgresql/dblink.xml
  16. +81 −19 postgresql/ddl.xml
  17. +1 −1 postgresql/dict-int.xml
  18. +1 −1 postgresql/dict-xsyn.xml
  19. +3 −4 postgresql/diskusage.xml
  20. +17 −6 postgresql/docguide.xml
  21. +74 −0 postgresql/dummy-seclabel.xml
  22. +1 −1 postgresql/earthdistance.xml
  23. +8,211 −4,303 postgresql/ecpg.xml
  24. +1 −1,433 postgresql/errcodes.xml
  25. +872 −58 postgresql/extend.xml
  26. +21 −14 postgresql/external-projects.xml
  27. +212 −0 postgresql/fdwhandler.xml
  28. +138 −0 postgresql/file-fdw.xml
  29. +11 −2 postgresql/filelist.xml
  30. +1,863 −826 postgresql/func.xml
  31. +22 −2 postgresql/fuzzystrmatch.xml
  32. +174 −90 postgresql/gin.xml
  33. +72 −28 postgresql/gist.xml
  34. +283 −54 postgresql/high-availability.xml
  35. +0 −7 postgresql/hstore.xml
  36. +106 −45 postgresql/indexam.xml
  37. +56 −1 postgresql/indices.xml
  38. +480 −37 postgresql/information_schema.xml
  39. +39 −10 postgresql/{install-win32.xml → install-windows.xml}
  40. +55 −161 postgresql/installation.xml
  41. +19 −13 postgresql/intarray.xml
  42. +9 −1 postgresql/isn.xml
  43. +37 −92 postgresql/keywords.xml
  44. +2 −2 postgresql/legal.xml
  45. +286 −76 postgresql/libpq.xml
  46. +1 −1 postgresql/lo.xml
  47. +1 −1 postgresql/lobj.xml
  48. +7 −7 postgresql/maintenance.xml
  49. +3 −2 postgresql/manage-ag.xml
  50. +333 −45 postgresql/monitoring.xml
  51. +431 −270 postgresql/mvcc.xml
  52. +11 −10 postgresql/perform.xml
  53. +1 −1 postgresql/pgarchivecleanup.xml
  54. +74 −6 postgresql/pgbench.xml
  55. +6 −6 postgresql/pgstandby.xml
  56. +2 −2 postgresql/pgstatstatements.xml
  57. +74 −0 postgresql/pgtestfsync.xml
  58. +37 −3 postgresql/pgtrgm.xml
  59. +51 −41 postgresql/pgupgrade.xml
  60. +1 −1 postgresql/planstats.xml
  61. +9 −0 postgresql/plhandler.xml
  62. +82 −4 postgresql/plperl.xml
  63. +334 −26 postgresql/plpgsql.xml
  64. +261 −22 postgresql/plpython.xml
  65. +12 −7 postgresql/pltcl.xml
  66. +1 −0 postgresql/postgres.xml
  67. +413 −26 postgresql/protocol.xml
  68. +201 −18 postgresql/queries.xml
  69. +1 −7 postgresql/query.xml
  70. +59 −8 postgresql/recovery-config.xml
  71. +176 −166 postgresql/ref/allfiles.xml
  72. +128 −0 postgresql/ref/alter_collation.xml
  73. +10 −0 postgresql/ref/alter_conversion.xml
  74. +5 −5 postgresql/ref/alter_default_privileges.xml
  75. +291 −0 postgresql/ref/alter_extension.xml
  76. +29 −5 postgresql/ref/alter_foreign_data_wrapper.xml
  77. +315 −0 postgresql/ref/alter_foreign_table.xml
  78. +10 −0 postgresql/ref/alter_opclass.xml
  79. +10 −0 postgresql/ref/alter_operator.xml
  80. +27 −1 postgresql/ref/alter_opfamily.xml
  81. +4 −1 postgresql/ref/alter_role.xml
  82. +144 −23 postgresql/ref/alter_table.xml
  83. +10 −0 postgresql/ref/alter_tsconfig.xml
  84. +10 −0 postgresql/ref/alter_tsdictionary.xml
  85. +10 −0 postgresql/ref/alter_tsparser.xml
  86. +10 −0 postgresql/ref/alter_tstemplate.xml
  87. +209 −4 postgresql/ref/alter_type.xml
  88. +1 −0 postgresql/ref/alter_user.xml
  89. +8 −10 postgresql/ref/begin.xml
  90. +29 −38 postgresql/ref/cluster.xml
  91. +4 −4 postgresql/ref/clusterdb.xml
  92. +40 −14 postgresql/ref/comment.xml
  93. +18 −3 postgresql/ref/copy.xml
  94. +18 −3 postgresql/ref/create_cast.xml
  95. +177 −0 postgresql/ref/create_collation.xml
  96. +0 −177 postgresql/ref/create_constraint.xml
  97. +13 −0 postgresql/ref/create_domain.xml
  98. +205 −0 postgresql/ref/create_extension.xml
  99. +34 −18 postgresql/ref/create_foreign_data_wrapper.xml
  100. +197 −0 postgresql/ref/create_foreign_table.xml
  101. +21 −1 postgresql/ref/create_index.xml
  102. +15 −0 postgresql/ref/create_language.xml
  103. +18 −2 postgresql/ref/create_opclass.xml
  104. +17 −0 postgresql/ref/create_role.xml
  105. +3 −1 postgresql/ref/create_rule.xml
  106. +1 −1 postgresql/ref/create_sequence.xml
  107. +60 −19 postgresql/ref/create_table.xml
  108. +11 −1 postgresql/ref/create_table_as.xml
  109. +172 −17 postgresql/ref/create_trigger.xml
  110. +39 −9 postgresql/ref/create_type.xml
  111. +1 −0 postgresql/ref/create_user.xml
  112. +6 −2 postgresql/ref/create_view.xml
  113. +10 −10 postgresql/ref/createdb.xml
  114. +22 −10 postgresql/ref/createlang.xml
  115. +4 −4 postgresql/ref/createuser.xml
  116. +16 −2 postgresql/ref/delete.xml
  117. +110 −0 postgresql/ref/drop_collation.xml
  118. +121 −0 postgresql/ref/drop_extension.xml
  119. +112 −0 postgresql/ref/drop_foreign_table.xml
  120. +9 −0 postgresql/ref/drop_language.xml
  121. +2 −2 postgresql/ref/drop_type.xml
  122. +3 −3 postgresql/ref/dropdb.xml
  123. +19 −14 postgresql/ref/droplang.xml
  124. +3 −3 postgresql/ref/dropuser.xml
  125. +32 −2 postgresql/ref/ecpg-ref.xml
  126. +8 −8 postgresql/ref/grant.xml
  127. +8 −8 postgresql/ref/initdb.xml
  128. +38 −2 postgresql/ref/insert.xml
  129. +6 −4 postgresql/ref/lock.xml
  130. +17 −0 postgresql/ref/move.xml
  131. +424 −0 postgresql/ref/pg_basebackup.xml
  132. +1 −0 postgresql/ref/pg_controldata.xml
  133. +89 −91 postgresql/ref/pg_ctl-ref.xml
  134. +116 −20 postgresql/ref/pg_dump.xml
  135. +31 −0 postgresql/ref/pg_dumpall.xml
  136. +22 −1 postgresql/ref/pg_restore.xml
  137. +4 −4 postgresql/ref/postgres-ref.xml
  138. +196 −36 postgresql/ref/psql-ref.xml
  139. +7 −7 postgresql/ref/reindexdb.xml
  140. +6 −6 postgresql/ref/revoke.xml
  141. +206 −0 postgresql/ref/security_label.xml
  142. +129 −66 postgresql/ref/select.xml
  143. +12 −2 postgresql/ref/select_into.xml
  144. +58 −12 postgresql/ref/set_transaction.xml
  145. +9 −2 postgresql/ref/start_transaction.xml
  146. +19 −24 postgresql/ref/truncate.xml
  147. +16 −2 postgresql/ref/update.xml
  148. +5 −7 postgresql/ref/vacuum.xml
  149. +5 −5 postgresql/ref/vacuumdb.xml
  150. +151 −141 postgresql/reference.xml
  151. +75 −0 postgresql/regress.xml
  152. +2,630 −0 postgresql/release-9.1.xml
  153. +4 −2 postgresql/release.xml
  154. +84 −36 postgresql/rules.xml
  155. +363 −20 postgresql/runtime.xml
  156. +552 −0 postgresql/sepgsql.xml
  157. +9 −0 postgresql/sources.xml
  158. +10 −6 postgresql/spi.xml
  159. +24 −0 postgresql/sslinfo.xml
  160. +1 −4 postgresql/start.xml
  161. +51 −18 postgresql/storage.xml
  162. +109 −18 postgresql/syntax.xml
  163. +2 −1 postgresql/tablefunc.xml
  164. +1 −1 postgresql/test-parser.xml
  165. +6 −7 postgresql/textsearch.xml
  166. +105 −32 postgresql/trigger.xml
  167. +13 −13 postgresql/tsearch2.xml
  168. +3 −2 postgresql/unaccent.xml
  169. +24 −81 postgresql/user-manag.xml
  170. +1 −2 postgresql/vacuumlo.xml
  171. +9 −7 postgresql/wal.xml
  172. +158 −289 postgresql/xfunc.xml
  173. +90 −16 postgresql/xindex.xml
  174. +8 −8 postgresql/xplang.xml
  175. +4 −13 postgresql/xtypes.xml
@@ -513,7 +513,7 @@
<term><acronym>PGXS</acronym></term>
<listitem>
<para>
<link linkend="xfunc-c-pgxs"><productname>PostgreSQL</productname>
<link linkend="extend-pgxs"><productname>PostgreSQL</productname>
Extension System</link>, système d'extension de PostgreSQL
</para>
</listitem>
@@ -543,8 +543,8 @@
<term><acronym>PL</acronym></term>
<listitem>
<para>
<link linkend="server-programming">Programming Languages</link>, langages de
programmation côté serveur
<link linkend="server-programming">Procedural Languages</link>, langages
procéduraux côté serveur
</para>
</listitem>
</varlistentry>
@@ -407,7 +407,7 @@ SELECT nomdep, noemp, salaire, avg(salaire) OVER (PARTITION BY nomdep) FROM sala

<para>
Un appel à une fonction <foreignphrase>window</foreignphrase> contient toujours une clause
<literal>OVER</literal> qui suit le nom et les arguments de la fonction.
<literal>OVER</literal> qui suit immédiatement le nom et les arguments de la fonction.
C'est ce qui permet de la distinguer syntaxiquement d'une fonction simple
ou d'une fonction de regroupement. La clause <literal>OVER</literal>
détermine précisément comment les lignes de la requête sont éclatées pour
@@ -421,13 +421,10 @@ SELECT nomdep, noemp, salaire, avg(salaire) OVER (PARTITION BY nomdep) FROM sala
</para>

<para>
Bien que la fonction <function>avg</function> produise le même résultat
quel que soit l'ordre dans lequel elle traite les enregistrements de la
partition, ceci n'est pas généralisable à toutes les fonctions
<foreignphrase>window</foreignphrase>.
Lorsque cela s'avère nécessaire, l'ordre peut être contrôlé à l'aide d'une
clause <literal>ORDER BY</literal> à l'intérieur de
<literal>OVER</literal>. Exemple&nbsp;:
You can also control the order in which rows are processed by
window functions using <literal>ORDER BY</> within <literal>OVER</>.
(The window <literal>ORDER BY</> does not even have to match the
order in which the rows are output.) Here is an example:

<programlisting>
SELECT nomdep, noemp, salaire, rank() OVER (PARTITION BY nomdep ORDER BY salaire DESC) FROM salaireemp;
@@ -249,7 +249,7 @@ INSERT INTO sal_emp
Si l'une des dimensions est écrite comme une partie, c'est-à-dire si elle contient
le caractère deux-points, alors toutes les dimensions sont traitées comme
des parties. Toute dimension qui n'a qu'un numéro (pas de
deux-points), est traitée comme allant de <literal>1</literal>
deux-points), est traitée comme allant de 1
au nombre indiqué. Par exemple, <literal>[2]</literal> est traitée comme
<literal>[1:2]</literal>, comme le montre cet exemple&nbsp;:

@@ -0,0 +1,67 @@
<!-- doc/src/sgml/auth-delay.sgml -->

<sect1 id="auth-delay">
<title>auth_delay</title>

<indexterm zone="auth-delay">
<primary>auth_delay</primary>
</indexterm>

<para>
<filename>auth_delay</filename> causes the server to pause briefly before
reporting authentication failure, to make brute-force attacks on database
passwords more difficult. Note that it does nothing to prevent
denial-of-service attacks, and may even exacerbate them, since processes
that are waiting before reporting authentication failure will still consume
connection slots.
</para>

<para>
In order to function, this module must be loaded via
<xref linkend="guc-shared-preload-libraries"> in <filename>postgresql.conf</>.
</para>

<sect2>
<title>Configuration Parameters</title>

<variablelist>
<varlistentry>
<term>
<varname>auth_delay.milliseconds</varname> (<type>int</type>)
</term>
<indexterm>
<primary><varname>auth_delay.milliseconds</> configuration parameter</primary>
</indexterm>
<listitem>
<para>
The number of milliseconds to wait before reporting an authentication
failure. The default is 0.
</para>
</listitem>
</varlistentry>
</variablelist>

<para>
In order to set these parameters in your <filename>postgresql.conf</> file,
you will need to add <literal>auth_delay</> to
<xref linkend="guc-custom-variable-classes">. Typical usage might be:
</para>

<programlisting>
# postgresql.conf
shared_preload_libraries = 'auth_delay'

custom_variable_classes = 'auth_delay'
auth_delay.milliseconds = '500'
</programlisting>
</sect2>

<sect2>
<title>Author</title>

<para>
KaiGai Kohei <email>kaigai@ak.jp.nec.com</email>
</para>
</sect2>

</sect1>

0 comments on commit c68caa7

Please sign in to comment.
You can’t perform that action at this time.