Re: [HACKERS] Trigger aborted on error

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SEV
Тема Re: [HACKERS] Trigger aborted on error
Дата
Msg-id 219F68D65015D011A8E000006F8590C60339E15C@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> Have you put an index on the field in question?  It shouldn't 
> matter how
> many records you have if you do.  If you don't, no other database will
> help you any better.

The main problem is, that PostgreSQL will abort the transaction if it raises
elog(ERROR...).
No other DB does this. Thus on other DB's the user program can check the
return code,
fix the error condition and still commit the transaction.
I think behavior like this will be easier to provide with WAL's savepoints.

Andreas


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: A bug in NOT IN (SELECT ...
Следующее
От: Zeugswetter Andreas SEV
Дата:
Сообщение: AW: [HACKERS] sort on huge table