Re: trigger SPI_exec count argument

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: trigger SPI_exec count argument
Дата
Msg-id 6070.1251910446@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: trigger SPI_exec count argument  (Michael Nacos <m.nacos@gmail.com>)
Список pgsql-hackers
Michael Nacos <m.nacos@gmail.com> writes:
> The interesting thing is SQL_exec(sql,1) resulted in a different
> execution plan while the stray FROM was still in place.

Well, the stray FROM resulted in a useless cross-join, which would
have generated a lot of extra no-op row updates.  I think what the
limit was doing for you was stopping the UPDATE before it had performed
the extra updates.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Adding \ev view editor?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Adding \ev view editor?