Re: [GENERAL] When inserting from a SELECT with an ORDER BY, are the inserts (and associated triggers) applied in order?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] When inserting from a SELECT with an ORDER BY, are the inserts (and associated triggers) applied in order?
Дата
Msg-id 16028.1498513422@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] When inserting from a SELECT with an ORDER BY, are the inserts (andassociated triggers) applied in order?  (Jim Fulton <jim@jimfulton.info>)
Ответы Re: [GENERAL] When inserting from a SELECT with an ORDER BY, are theinserts (and associated triggers) applied in order?
Список pgsql-general
Jim Fulton <jim@jimfulton.info> writes:
> When inserting from a SELECT with an ORDER BY, are the inserts (and
> associated triggers) applied in order?

Yeah, I'd expect so.  I'm not sure we'd promise that that will always
remain true, but I can't think why it would be violated at the moment.

> It looks like inserts aren't applied in order, and I'm wondering if this is
> something I should expect.

Hard to comment on that without seeing your test case.

            regards, tom lane


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

Предыдущее
От: Paul A Jungwirth
Дата:
Сообщение: Re: [GENERAL] ERROR: query returned no rows
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] ERROR: query returned no rows