You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: superstack/psql/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -677,7 +677,7 @@ <h2 id="open-a-psql-shell">📟 Open a psql Shell</h2>
677
677
</blockquote>
678
678
<h2id="run-inline-sql-commands">🔹 Run Inline SQL Commands</h2>
679
679
<p>You can also run SQL directly without opening an interactive shell:</p>
680
-
<divclass="highlight"><pre><span></span><code>bin/postgres -c 'select * from movie;'
680
+
<divclass="highlight"><pre><span></span><code>bin/postgres<spanclass="w"></span>-c<spanclass="w"></span><spanclass="s1">'select * from movie;'</span>
681
681
</code></pre></div>
682
682
<p>✅ Because <code>bin/postgres</code> defaults to <code>psql</code>, you don’t need to type <code>psql</code>
0 commit comments