Re: LOCK has IGNORED on trigger.

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: LOCK has IGNORED on trigger.
Дата
Msg-id 20030905133014.GA11657@wolff.to
обсуждение исходный текст
Ответ на LOCK has IGNORED on trigger.  ("Yudha Setiawan" <yudha@bonbon.net>)
Список pgsql-admin
On Thu, Sep 04, 2003 at 13:59:21 +0700,
  Yudha Setiawan <yudha@bonbon.net> wrote:
> Dear Expert,
> I got a trouble with LOCK on my table (Inquery table).
> I've put the LOCK (using select bla.bla for update)
> on trigger(trigger insert) of Table_A. It's work properly.
> when i tried "insert into Table_A bla.bla.bla" with more
> than 5 user in same time
>
> But when i put the "Insert into Table_A" command on
> the other trigger's table. That's LOCK is ignored.

A select for update isn't going to block an insert. If you need that, you
have to lock the whole table.

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

Предыдущее
От: "shreedhar"
Дата:
Сообщение: Re: [GENERAL] How can I set postmaster as a service
Следующее
От: Rodrigo De la Peña
Дата:
Сообщение: unsubscribe