title: PostgreSQL query with function gen_random_uuid() not working on Windows
body: <p>I have the following query for creating a table,</p>
  
  <pre><code>CREATE TABLE IF NOT EXISTS company (
      id uuid CONSTRAINT companyid PRIMARY KEY DEFAULT gen_random_uuid(),
      name varchar(128) NOT NULL,
      db_uri varchar(255) NOT NULL,
      c_uri varchar(255) NOT NULL,
      date_c timestamp DEFAULT now(),
      date_m timestamp DEFAULT now()
      ) WITH (fillfactor=90);
  </code></pre>
  
  <p>I am getting the following error when I run it through pgAdminIII.</p>
  
  <pre><code>ERROR:  function gen_random_uuid() does not exist
  HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
  ********** Error **********
  ERROR: function gen_random_uuid() does not exist
  SQL state: 42883
  Hint: No function matches the given name and argument types. You might need to add explicit type casts.
  </code></pre>
  
  <p>I have created an extension <code>pgcrypto</code> as that contains gen_random_uuid() function definition but that also did not help.</p>
  
  <p>I ran the same scripts on a MAC and it all worked fine.</p>
  
  <p>I am using PostgreSQL 9.3.</p>