From a1db9e41f4388d35261da780d54d0ecb6a7c1637 Mon Sep 17 00:00:00 2001 From: Raimon Grau Date: Thu, 10 Feb 2022 11:11:08 +0000 Subject: [PATCH] postgres-workspace - fix pg_flame query --- workspaces/postgres-workspace/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspaces/postgres-workspace/README.md b/workspaces/postgres-workspace/README.md index 1eb5796..fbcee94 100644 --- a/workspaces/postgres-workspace/README.md +++ b/workspaces/postgres-workspace/README.md @@ -577,7 +577,7 @@ Now you can push these docks push to Github. ### pg_flame [pg_flame](https://github.com/mgartner/pg_flame) - a flamegraph generator for Postgres EXPLAIN ANALYZE output. ``` -psql usda -qAtc 'SELECT * +psql usda -qAtc 'EXPLAIN (ANALYZE, FORMAT JSON) SELECT * FROM nut_data N JOIN food_des F ON F.ndb_no = N.ndb_no JOIN datsrcln D ON D.nutr_no = N.nutr_no