From: msi77 <msi77@yandex.ru>
To: pgsql-sql@postgresql.org
Subject: Re: short-cutting if sum()>constant
Date: Tue, 22 Dec 2009 22:15:02 +0300
Message-ID: <1751261509302@webmail116.yandex.ru> (raw)
In-Reply-To: <20091222173009.GA15386@tux>
References: <20091222133527.3007bd96@dawn.webthatworks.it>
<20091222141231.GE10308@a-kretschmer.de>
<6521261494681@webmail110.yandex.ru>
<20091222173009.GA15386@tux>
> Sorry, but i don't know how a CTE can help in this case, can you explain
I mean RECURSIVE CTE. You can check your condition on each iteration and stop execution when condition is false.
Sergey
> msi77 <msi77@yandex.ru> wrote:
> > Развернуть
> > Does PG support CTE?
> Since 8.4 yes.
> > Развернуть
> > You can try it.
> Sorry, but i don't know how a CTE can help in this case, can you explain
> that?
> Andreas
>
Здесь спама нет http://mail.yandex.ru/nospam/sign
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: msi77@yandex.ru
Subject: Re: short-cutting if sum()>constant
In-Reply-To: <1751261509302@webmail116.yandex.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox