Re: [PATCHES] WITH RECUSIVE patches 0717

Поиск
Список
Период
Сортировка
От Erik
Тема Re: [PATCHES] WITH RECUSIVE patches 0717
Дата
Msg-id 12057.156.83.1.19.1216402224.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Ответы Re: [PATCHES] WITH RECUSIVE patches 0717  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On Fri, July 18, 2008 03:41, Tatsuo Ishii wrote:
>> > Here is the lastest WITH RECURSIVE patches against CVS HEAD created by
>> > Yoshiyuki Asaba and minor corrections by Tatsuo Ishii.
>>
>> I tried this patch vs. CVS HEAD used my usual configure option with
>> only --with-prefix set, then tried to make, and got:
>>
>> make[3]: *** No rule to make target `parse_cte.o', needed by `objfiles.txt'.
>>  Stop.
>> make[3]: Leaving directory `/home/shackle/pgsql/src/backend/parser'
>> make[2]: *** [parser-recursive] Error 2
>> make[2]: Leaving directory `/home/shackle/pgsql/src/backend'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/shackle/pgsql/src'
>> make: *** [all] Error 2
>>
>> Is there something missing?
>
> Oops. I forgot to include patches against newly added files. Please
> try included patches.
>


This crashes the backend:

WITH RECURSIVE t(n) AS (
    VALUES (1)
  UNION ALL
    SELECT n+1 FROM t WHERE n < 5 ORDER BY 1
)
SELECT n FROM t;

apparently because of the  ORDER BY 1

( ORDER BY t.n  will just error out )


Compiled with:

    ./configure \
     --prefix=${install_dir} \
     --with-pgport=${pgport} \
     --quiet          \
     --enable-depend  \
     --enable-cassert \
     --enable-debug   \
     --with-openssl


hth

Erik Rijkers






В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: [PATCH]-hash index improving
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] WIP: executor_hook for pg_stat_statements