Re: Run-time pruning for ModifyTable

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Run-time pruning for ModifyTable
Дата
Msg-id CA+hUKG+BvjrnMPVDevGrJfg=zHo1a6ZrnLfx__koULsv8BULKg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Run-time pruning for ModifyTable  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Run-time pruning for ModifyTable
Список pgsql-hackers
On Thu, Sep 12, 2019 at 10:10 AM Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Here's a rebased version of this patch (it had a trivial conflict).

Hi, FYI partition_prune.sql currently fails (maybe something to do
with commit d52eaa09?):

 where s.a = $1 and s.b = $2 and s.c = (select 1);
 explain (costs off) execute q (1, 1);
                           QUERY PLAN
----------------------------------------------------------------
+----------------------------------------------------
  Append
    InitPlan 1 (returns $0)
      ->  Result
-   Subplans Removed: 1
    ->  Seq Scan on p1
-         Filter: ((a = $1) AND (b = $2) AND (c = $0))
+         Filter: ((a = 1) AND (b = 1) AND (c = $0))
    ->  Seq Scan on q111
-         Filter: ((a = $1) AND (b = $2) AND (c = $0))
+         Filter: ((a = 1) AND (b = 1) AND (c = $0))
    ->  Result
-         One-Time Filter: ((1 = $1) AND (1 = $2) AND (1 = $0))
-(10 rows)
+         One-Time Filter: (1 = $0)
+(9 rows)

 execute q (1, 1);
  a | b | c



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: pause recovery if pitr target not reached
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: TAP tests aren't using the magic words for Windows file access