"Andrus" <[EMAIL PROTECTED]> writes:

> This causes error
>
> ERROR: syntax error at or near "IF"
> SQL state: 42601
> Character: 109

SQL has no "IF".  Use plpgsql instead.

> How many times this is slower than expression in where clause?

You can time it. :-)  But I don't believe it will be too slow since it is a
simple operation...  

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to