Skip to content

Commit 27b7227

Browse files
committed
Add -X to psql command
This prevents loading the .psqlrc file; I've got `\timing on` in there, which is useful for interactive `psql` usage, but it also adds the timings after the JSON, which is less useful.
1 parent 0be560b commit 27b7227

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/src/views/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="text-muted">
1111
For best results, use <code>EXPLAIN (ANALYZE, COSTS, VERBOSE, BUFFERS, FORMAT JSON)</code>
1212
<br>
13-
<em>psql</em> users can export the plan to a file using <code>psql -qAt -f explain.sql > analyze.json</code>
13+
<em>psql</em> users can export the plan to a file using <code>psql -XqAt -f explain.sql > analyze.json</code>
1414
</div>
1515
<div class="dropdown ml-auto">
1616
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

0 commit comments

Comments
 (0)