Skip to content

VERBOSE

EXPLAIN (VERBOSE true, FORMAT YAML)
SELECT * FROM customer;
-
Plan:
Node Type: "Seq Scan"
Relation Name: "customer"
Alias: "customer"
Startup Cost: 0.00
Total Cost: 13.60
Plan Rows: 360
Plan Width: 36
Output:
- "customer_id"
- "customer_name"

The VERBOSE option in PostgreSQL’s EXPLAIN command provides additional details about the query plan. The provided query uses VERBOSE to display the names of the output columns (customer_id and customer_name) in the execution plan for a sequential scan on the “customer” table. The FORMAT YAML formats the output in YAML (Yet Another Markup Language) for readability.