From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | [PATCH] Proposed: Have SPI_connect fail if there is no current snapshot |
Date: | 2005-08-13 19:57:05 |
Message-ID: | 20050813195700.GF24155@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)svana(dot)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.
Attachment | Content-Type | Size |
---|---|---|
spi2.patch | text/plain | 1.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | mark | 2005-08-13 21:35:38 | Re: gettime() - a timeofday() alternative |
Previous Message | Brendan Jurd | 2005-08-13 19:51:16 | Re: gettime() - a timeofday() alternative |