[PATCH] Proposed: Have SPI_connect fail if there is no current snapshot

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема [PATCH] Proposed: Have SPI_connect fail if there is no current snapshot
Дата
Msg-id 20050813195700.GF24155@svana.org
обсуждение исходный текст
Ответы Re: [PATCH] Proposed: Have SPI_connect fail if there is no current snapshot  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
[Please CC any replies]

Hi,

As per discussion on -hackers, type input functions can be called prior
to there being a current snapshot, causing any queries you execute to
fail with the "no snapshot has been set" error. So I propose to simply
have SPI_connect fail right off the bat and document that to avoid
future surprises. At least until the issue of non-immutable type input
functions has been sorted out.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: [PATCH] Clarify issues with SPI and C language function limitations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Proposed: Have SPI_connect fail if there is no current snapshot