Thread: pgsql: Remove ancient restriction that LIMIT/OFFSET can't contain a

pgsql: Remove ancient restriction that LIMIT/OFFSET can't contain a

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Remove ancient restriction that LIMIT/OFFSET can't contain a sub-select.
This was probably protecting some implementation limitation when it was
put in, but as far as I can tell the planner and executor have no such
assumption anymore; the case seems to work fine.  Per a gripe from
Grzegorz Jaskiewicz.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_clause.c (r1.168 -> r1.169)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_clause.c?r1=1.168&r2=1.169)