~ubuntu-branches/ubuntu/utopic/postgresql-9.4/utopic-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/EXPLAIN.7

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, CVE-2014-8161
  • Date: 2015-02-06 12:31:46 UTC
  • mfrom: (1.1.5) (7.1.2 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20150206123146-vtmf30jbkm7w16p8
Tags: 9.4.1-0ubuntu0.14.10
* New upstream security/bug fix release (LP: #1418928)
  - Fix buffer overruns in to_char() [CVE-2015-0241]
  - Fix buffer overruns in contrib/pgcrypto [CVE-2015-0243]
  - Fix possible loss of frontend/backend protocol synchronization after an
    error [CVE-2015-0244]
  - Fix information leak via constraint-violation error messages
    [CVE-2014-8161]
  - See release notes for details about other fixes:
    http://www.postgresql.org/about/news/1569/

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: EXPLAIN
3
3
.\"    Author: The PostgreSQL Global Development Group
4
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5
 
.\"      Date: 2014
6
 
.\"    Manual: PostgreSQL 9.4beta3 Documentation
7
 
.\"    Source: PostgreSQL 9.4beta3
 
5
.\"      Date: 2015
 
6
.\"    Manual: PostgreSQL 9.4.1 Documentation
 
7
.\"    Source: PostgreSQL 9.4.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "EXPLAIN" "7" "2014" "PostgreSQL 9.4beta3" "PostgreSQL 9.4beta3 Documentation"
 
10
.TH "EXPLAIN" "7" "2015" "PostgreSQL 9.4.1" "PostgreSQL 9.4.1 Documentation"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
124
124
.PP
125
125
COSTS
126
126
.RS 4
127
 
Include information on the estimated startup and total cost of each plan node, as well as the estimated number of rows and the estimated width of each row\&. Also, include the time spent planning the query, if available\&. This parameter defaults to
 
127
Include information on the estimated startup and total cost of each plan node, as well as the estimated number of rows and the estimated width of each row\&. This parameter defaults to
128
128
TRUE\&.
129
129
.RE
130
130
.PP
227
227
                       QUERY PLAN
228
228
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
229
229
 Seq Scan on foo  (cost=0\&.00\&.\&.155\&.00 rows=10000 width=4)
230
 
 Planning time: 0\&.114 ms
231
 
(2 rows)
 
230
(1 row)
232
231
.fi
233
232
.if n \{\
234
233
.RE
253
252
       "Total Cost": 155\&.00,   +
254
253
       "Plan Rows": 10000,     +
255
254
       "Plan Width": 4         +
256
 
     }\&.                        +
257
 
     "Planning Time": 0\&.114    +
 
255
     }                         +
258
256
   }                           +
259
257
 ]
260
258
(1 row)
279
277
\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
280
278
 Index Scan using fi on foo  (cost=0\&.00\&.\&.5\&.98 rows=1 width=4)
281
279
   Index Cond: (i = 4)
282
 
 Planning time: 0\&.073 ms
283
 
(3 rows)
 
280
(2 rows)
284
281
.fi
285
282
.if n \{\
286
283
.RE
305
302
     Total Cost: 5\&.98         +
306
303
     Plan Rows: 1             +
307
304
     Plan Width: 4            +
308
 
     Index Cond: "(i = 4)"    +
309
 
   Planning Time: 0\&.073
 
305
     Index Cond: "(i = 4)"    
310
306
(1 row)
311
307
.fi
312
308
.if n \{\
346
342
 Aggregate  (cost=23\&.93\&.\&.23\&.93 rows=1 width=4)
347
343
   \->  Index Scan using fi on foo  (cost=0\&.00\&.\&.23\&.92 rows=6 width=4)
348
344
         Index Cond: (i < 10)
349
 
 Planning time: 0\&.088 ms
350
345
(3 rows)
351
346
.fi
352
347
.if n \{\
375
370
         Index Cond: ((id > $1) AND (id < $2))
376
371
 Planning time: 0\&.197 ms
377
372
 Execution time: 0\&.225 ms
378
 
(5 rows)
 
373
(6 rows)
379
374
.fi
380
375
.if n \{\
381
376
.RE