Re: Python os.system module handle errors

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: Python os.system module handle errors
Дата
Msg-id 20060511090524.GB223@alamut
обсуждение исходный текст
Ответ на Python os.system module handle errors  ("Vadim Pestovnikov" <vpestovnikov@yak.ca>)
Список pgsql-admin
On May 04 04:50, Vadim Pestovnikov wrote:
> When I create a database dump in python script and if there are some
> errors (user_name is not correct, db_name doesn't exist or something
> else) I need to send e-mail notification to admin. How can I handle
> these errors?

I don't think this has anything to do with PostgreSQL. IMHO you should
start with reading documentation of Python os module (especially
OSError exceptions part) and consult to a python related mailing list.


Regards.

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

Предыдущее
От: Steve Burrows
Дата:
Сообщение: Re: Backing up large databases
Следующее
От: "sandhya"
Дата:
Сообщение: Fw: reg:logon failure