title: PostgreSQL 9.3: Setting parameters values default to null
body: <p>I have the following funtion which contains 6 parameters. </p>
  
  <p>Here I want to set the default value null to the parameters <code>cola</code>,<code>colc</code> and <code>colf</code>.</p>
  
  <p><strong>Function</strong>: <code>fun_Test</code></p>
  
  <pre><code>create or replace function fun_Test
  (
      cola int default null,
      colb varchar(10),
      colc int default null,
      cold varchar(10),
      cole varchar(10),
      colf varchar(50) default null
  )
  
  returns void AS
  
  $$
  begin
      raise info '%',cola;
      raise info '%',colb;
      raise info '%',colc;
      raise info '%',cold;
      raise info '%',cole;
      raise info '%',colf;
  end;
  $$
  language plpgsql;
  </code></pre>
  
  <p>But getting an error.</p>
  
  <p><strong>ERROR</strong>:  input parameters after one with a default value must also have defaults</p>