Re: union and limit - Mailing list pgsql-general

From Tom Lane
Subject Re: union and limit
Date
Msg-id 25658.1030455168@sss.pgh.pa.us
Whole thread Raw
In response to union and limit  ("Ben-Nes Michael" <miki@canaan.co.il>)
List pgsql-general
"Ben-Nes Michael" <miki@canaan.co.il> writes:
> Is this the way to solve it ?
> if it is, i think it should be in the docs.

It is; read the SELECT man page:

select

     A select statement with all features except the ORDER BY, FOR
     UPDATE, and LIMIT clauses (even those can be used when the select
     is parenthesized).

            regards, tom lane

pgsql-general by date:

Previous
From: "Jerome Chochon"
Date:
Subject: Inherits Triggers or Rules
Next
From: Bruce Momjian
Date:
Subject: Re: size of units in postgresql.conf