Skip to content

Commit 679744c

Browse files
committed
Fix sample output of EXPLAIN ANALYZE.
Since commit f0f13a3, we estimate ModifyTable paths without a RETURNING clause differently. Update an example from the manual that showed the old behavior. Author: Takayuki Tsunakawa <tsunakawa.takay@fujitsu.com> Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at> Discussion: https://postgr.es/m/TYAPR01MB29905674F41693BBA9DA28CAFEA20%40TYAPR01MB2990.jpnprd01.prod.outlook.com
1 parent a36dc04 commit 679744c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/perform.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ EXPLAIN ANALYZE UPDATE tenk1 SET hundred = hundred + 1 WHERE unique1 &lt; 100;
773773

774774
QUERY PLAN
775775
-------------------------------------------------------------------&zwsp;-------------------------------------------------------------
776-
Update on tenk1 (cost=5.07..229.46 rows=101 width=250) (actual time=14.628..14.628 rows=0 loops=1)
776+
Update on tenk1 (cost=5.07..229.46 rows=0 width=0) (actual time=14.628..14.628 rows=0 loops=1)
777777
-&gt; Bitmap Heap Scan on tenk1 (cost=5.07..229.46 rows=101 width=250) (actual time=0.101..0.439 rows=100 loops=1)
778778
Recheck Cond: (unique1 &lt; 100)
779779
-&gt; Bitmap Index Scan on tenk1_unique1 (cost=0.00..5.04 rows=101 width=0) (actual time=0.043..0.043 rows=100 loops=1)
@@ -809,7 +809,7 @@ ROLLBACK;
809809
EXPLAIN UPDATE parent SET f2 = f2 + 1 WHERE f1 = 101;
810810
QUERY PLAN
811811
-------------------------------------------------------------------&zwsp;----------------
812-
Update on parent (cost=0.00..24.53 rows=4 width=14)
812+
Update on parent (cost=0.00..24.53 rows=0 width=0)
813813
Update on parent
814814
Update on child1
815815
Update on child2

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy