title: "sslmode=allow host=localhost dbname=test" does not work in PSQL, trying to connect PSQL to VSCode
body: <p>I am trying to connect my PSQL to VSCode and I am getting an error saying "The server does not support SSL Connections", while looking for the solution in stackoverflow I found a suggestion to run</p>
  
  <p><code>psql "sslmode=allow host=localhost dbname=test"</code></p>
  
  <p>When I try that from within PSQL Shell (12.3) for windows, it gives me this error:</p>
  
  <pre><code>   postgres=# sslmode=allow host=localhost dbname=test;
      ERROR:  syntax error at or near "sslmode"
      LINE 1: sslmode=allow host=localhost dbname=test;
  </code></pre>
  
  <p>When I try from the command prompt it gives me this error:</p>
  
  <pre><code>C:\Users\cu&gt;Psql -U postgres  "sslmode=allow host=localhost dbname=test"
  Password for user postgres:
  Psql (12.3)
  WARNING: Console code page (437) differs from Windows code page (1252)
           8-bit characters might not work correctly. See psql reference
           page "Notes for Windows users" for details.
  Type "help" for help.
  
  test=# Psql -U postgres  "sslmode=allow host=localhost dbname=test"
  test-# ;
  ERROR:  syntax error at or near "Psql"
  LINE 1: Psql -U postgres  "sslmode=allow host=localhost dbname=test"
  </code></pre>
  
  <p>Can you please help me figure out what I am doing wrong, I am new to databases and any type of programming and I am trying to learn some SQL.</p>
  
  <p>Thanks</p>