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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove ancient restriction that LIMIT/OFFSET can't contain a
Date: 2008-02-15 17:19:47
Message-ID: 20080215171947.02359754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2008-02-15 18:45:55 Re: pgsql: Sync our regex code with upstream changes since last time we did
Previous Message Michael Meskes 2008-02-15 16:30:45 Re: pgsql: Changed the way symbols are defined in C in INFORMIX mode.