title: Syntax to call a PostgreSQL function that contains an array among its arguments
body: <p>I am testing some PostgreSQL functions that I did not write, one of which is defined like:</p>
  
  <pre><code>email_maker_for_new_work_order(integer, character varying, integer[]);
  </code></pre>
  
  <p>I'm trying to call it like: </p>
  
  <pre><code>select email_maker_for_new_work_order(13987,"TEST_CeeLoGreen",['231822','267657','268399','270125','270127','270470','271320'])
  </code></pre>
  
  <p>But I get the error: </p>
  
  <pre><code>ERROR:  syntax error at or near "["
  LINE 1: ..._maker_for_new_work_order(13987,"TEST_CeeLoGreen",['231822',...
                                                               ^
  
  
  ********** Error **********
  
  ERROR: syntax error at or near "["
  SQL state: 42601
  Character: 63
  </code></pre>
  
  <p>I've tried without the single-quotes around the integer array. However, I get essentially the same error at the same location.</p>
  
  <p>Any help would be appreciated. Thanks.</p>