Re: cache problem (v2)

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: cache problem (v2)
Дата
Msg-id 20070716184837.GB18049@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Re: cache problem (v2)  (De Leeuw Guy <G.De_Leeuw@eurofer.be>)
Ответы Re: cache problem (v2)  (De Leeuw Guy <G.De_Leeuw@eurofer.be>)
Список pgsql-admin
On Mon, Jul 16, 2007 at 07:47:09PM +0200, De Leeuw Guy wrote:
> >
> > So if I am reading you correctly, IF code IN (1,2) THEN {do
> > something}?  What do you do then?  I don't get this part.
> >
> I record a row with code = 3 and the value = the sum of each values in
> code 1 & 2

This is also opaque to me now, because that doesn't seem to be what
your example said.  Perhaps you should post your function body?

> > I don't see how this is possible either.  You just deleted from test;
> > how can you hae anything left in there?
> >
> I skip the delete action when the code is a sum code

Well, that's not what your example said either.  You need to show us
actually what you are doing, rather than describing it in terms that
leave out significant parts.

> Yes I test this situation on my trigger.
> I sure about 99% that my problem come from the cache.

There is nothing in the cache that isn't "in the database", as it
were, but there are visibility rules that might be affecting you.

A

--
Andrew Sullivan  | ajs@crankycanuck.ca
When my information changes, I alter my conclusions.  What do you do sir?
        --attr. John Maynard Keynes

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

Предыдущее
От: De Leeuw Guy
Дата:
Сообщение: Re: cache problem (v2)
Следующее
От: "Mark Steben"
Дата:
Сообщение: Index on a COALESCE function