Re: insert rule instead oddity

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: insert rule instead oddity
Дата
Msg-id et88qt$2crv$1@news.hub.org
обсуждение исходный текст
Ответ на Re: insert rule instead oddity  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
A trigger did work, thank you for that suggestion.
In a race situation, there really is no manual solution either

I sent in a bug report for the rule problem that I experienced.
Sim

Tom Lane wrote:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>> I don't think rules can do what you want.
>
> A trigger might work, ignoring the problem of race conditions between
> two inserts happening concurrently (which a rule can't handle either).
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Exception handling in plperl
Следующее
От: "Alexi Gen"
Дата:
Сообщение: information_schema.table_privileges