Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6efdd41

Browse files
author
Neil Conway
committed
Fix two typos in the documentation for PREPARE.
1 parentfef0c83 commit6efdd41

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎doc/src/sgml/ref/prepare.sgml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/prepare.sgml,v 1.9 2003/12/01 22:07:58 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/prepare.sgml,v 1.10 2003/12/14 00:55:46 neilc Exp $
33
PostgreSQL documentation
44
-->
55

@@ -52,7 +52,7 @@ PREPARE <replaceable class="PARAMETER">plan_name</replaceable> [ (<replaceable c
5252
</para>
5353

5454
<para>
55-
Prepared statementsareonly for the duration of the current
55+
Prepared statements only last for the duration of the current
5656
database session. When the session ends, the prepared statement is
5757
forgotten, so it must be recreated before being used again. This
5858
also means that a single prepared statement cannot be used by
@@ -115,12 +115,12 @@ PREPARE <replaceable class="PARAMETER">plan_name</replaceable> [ (<replaceable c
115115
<title>Notes</title>
116116

117117
<para>
118-
In some situations, the query plan producedbyfor a prepared
119-
statementmay be inferior to the planproduced if the statement
120-
were submitted and executed normally. This is because when the
121-
statementisplanned and theplanner attempts to determine the
122-
optimal query plan, the actual values of any parameters specified
123-
in the statement are
118+
In some situations, the query plan produced for a prepared
119+
statementwill be inferior to thequeryplanthat would have been
120+
chosen if the statement had been submitted and executed
121+
normally. Thisisbecause when thestatement is planned and the
122+
planner attempts to determine theoptimal query plan, the actual
123+
values of any parameters specifiedin the statement are
124124
unavailable. <productname>PostgreSQL</productname> collects
125125
statistics on the distribution of data in the table, and can use
126126
constant values in a statement to make guesses about the likely

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp