There was an error while loading. Please reload this page.
In the following:
COPY FROM ( SELECT a FROM t WHERE id>$1) TO '/dev/null'
The $1 won't be considered a parameter, which it should be.
$1