title: How to translate this oracle spatial mask into st_relate postgis
body: <p>I'm trying to translate oracle spatial queries into postgis queries for my job, and I don't understand how to convert this sdo_relate clause into a st_relate close :</p>
  <p>OracleSpatial code :</p>
  <pre><code>WHERE sdo_relate (a.geometry, 
                    b.GEOMETRY,
                   'mask=contains+inside+covers+coveredby+overlapbdyintersect+equal+overlapbdydisjoint'
                   ) = 'TRUE'
  </code></pre>
  <p>Can I put more than 3 arguments in the st_relate function ?</p>
  <p>I've tried this :</p>
  <pre><code>WHERE 
      st_contains(a.geometrie, b.geometrie) AND 
      st_contains(a.geometrie, b.geometrie) AND 
      st_covers(a.geometrie, b.geometrie) AND 
      st_coveredby(a.geometrie, b.geometrie) AND 
      st_contains(a.geometrie, b.geometrie) AND 
      st_intersects(a.geometrie, b.geometrie) 
      AND st_disjoint(a.geometrie, b.geometrie) 
      AND st_equals(a.geometrie, b.geometrie) 
      AND a.GID = '142284 '
  GROUP BY b.SOUS_TYPE, b.TYPE_PRESCRIPTION, a.geometrie, b.geometrie, b.TRIG_COMM
  </code></pre>
  <p>But it doesn't work</p>