Re: funny view/temp table problem with query

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: funny view/temp table problem with query
Date: 2009-02-27 10:12:01
Message-ID: dcc563d10902270212h55a05bd8w4ed67e344ff1501d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 27, 2009 at 3:10 AM, Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> wrote:
> 2009/2/27 Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>:
>> On Thu, Feb 26, 2009 at 3:02 AM, Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> wrote:
>>
>>> First of all, I wonder why the same query divided up in half - and
>>> using temporary table works as expected, and with everything together
>>
>> I'm betting it's your use of generate_series().  You can get some
>> weird side effects because it sometimes gets run multiple times not
>> just the once you expect.  I'm guessing that's what's biting you.
>
> in which case, wouldn't that be a postgresql's bug ?

Nope.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2009-02-27 10:16:19 Re: funny view/temp table problem with query
Previous Message Grzegorz Jaśkiewicz 2009-02-27 10:10:43 Re: funny view/temp table problem with query