title: How to declare variable in PostgreSQL
body: <p>I try to declare a variable in a code like this:</p>
  <pre><code>DECLARE
      p_country VARCHAR;
   p_country : = ''; 
  SELECT p_country; 
  </code></pre>
  <p>But it's doesn't work:</p>
  <blockquote>
  <pre><code>ERROR:  syntax error at or near &quot;VARCHAR&quot;
  LINE 2:  p_country VARCHAR;
  </code></pre>
  </blockquote>
  <p>Can you tell me what's the problem?</p>