Re: Question about SPI_prepare

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: Question about SPI_prepare
Дата
Msg-id 20081111180159.GI2459@frubble.xen.chris-lamb.co.uk
обсуждение исходный текст
Ответ на Question about SPI_prepare  ("Tim Keitt" <tkeitt@keittlab.org>)
Ответы Re: Question about SPI_prepare  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Tue, Nov 11, 2008 at 11:33:41AM -0600, Tim Keitt wrote:
> I have an application where I am building a plan with SPI_plan and
> then this plan is called multiple times. There is one free parameter
> ($1) to the plan. The issue is with the order of the values returned.
> If $1 is identical during successive calls to SPI_execute_plan, is
> there any guarantee that the rows will be returned in the same order?

No, AFAIK SeqScans will start from different places if there's someone
else doing a scan on the table (or has done recently).

 Sam


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: auto_explain contrib moudle
Следующее
От: "Ibrar Ahmed"
Дата:
Сообщение: Re: quick question about "WIP: grouping sets support"