Re: sending mail from Postgres

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: sending mail from Postgres
Дата
Msg-id 43B3126B.4010909@wildenhain.de
обсуждение исходный текст
Ответ на Re: sending mail from Postgres  (Tony Caduto <tony.caduto@amsoftwaredesign.com>)
Ответы Re: sending mail from Postgres  (Tony Caduto <tony.caduto@amsoftwaredesign.com>)
Список pgsql-general
Tony Caduto schrieb:
> Tino Wildenhain wrote:
>
>>
>> We do not talk about exceptions here. I'm talking about transactions.
>> And you never know who will be aborting a transaction after your
>> call to the function. No need for referral to the fine manuals :-)
>>
>
> Common Tino, you let users abort transactions? Who else is going to be
> aborting transactions besides you the programmer?
> I would never allow that as they would mess everything up.

Actually not. There are several reasons why a transaction can
abort - do you cover all your queries in functions?
This would be a little bit unusual, to say at least.
Every query can fail. Its useless to do error
catching in your app if the server actually rolled back
due to an error and yet sent the mail :-)

Just curious, what framework do you use for your frontend
applications?

Have a nice day
Tino

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Re: sending mail from Postgres
Следующее
От: Chris Travers
Дата:
Сообщение: Re: FW: Re[2]: new beginner to postgresql. Looking at