Re: Exclusion constraint issue

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Exclusion constraint issue
Дата
Msg-id 20100926154128.GD22240@fetter.org
обсуждение исходный текст
Ответ на Re: Exclusion constraint issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sun, Sep 26, 2010 at 10:15:00AM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > On Fri, Sep 24, 2010 at 05:22:15PM -0400, Tom Lane wrote:
> >> period() might be immutable, but those casts from date to
> >> timestamptz are not, because they depend on the TimeZone
> >> parameter.
>
> > How hard would it be to point out the first expression found to be
> > mutable?
>
> I looked at that yesterday.  It would take significant restructuring
> of the code involved :-( ... the place that throws the error doesn't
> know exactly what subnode was found to be mutable, and IIRC it
> hasn't got access to the original command string anyway.

How much restructuring are we talking about here?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Exclusion constraint issue
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Visualize GiST Index