Re: Just Make Sure

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Just Make Sure
Дата
Msg-id 1043850061.1756.22.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Just Make Sure  ("Yudha Setiawan" <yudha@BonBon.net>)
Список pgsql-admin
On Wed, 2003-01-29 at 09:20, Yudha Setiawan wrote:
> Dear Master;
> So There's no way to put the Begin Work, Commit Work or Rollback
> inside Trigger's Function...????
> Some Explanation will be better :b

No.

All triggers happen within a transaction, whether explicit or implicit
and transactions cannot be nested.

In addition, BEGIN has a different meaning in PL/pgSQL.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "My son, if sinners entice thee, consent thou not."
                            Proverbs 1:10


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

Предыдущее
От: "Yudha Setiawan"
Дата:
Сообщение: Just Make Sure
Следующее
От: "Robert M. Meyer"
Дата:
Сообщение: What filesystem works best for PostgreSQL?