Re: DROP TABLE IF EXISTS

Поиск
Список
Период
Сортировка
От William Yu
Тема Re: DROP TABLE IF EXISTS
Дата
Msg-id clkcst$23v6$1@news.hub.org
обсуждение исходный текст
Ответ на Re: DROP TABLE IF EXISTS  ("Davis, Sean (NIH/NHGRI)" <sdavis2@mail.nih.gov>)
Список pgsql-novice
That's a new one to me. I use perl/DBI also and my scripts just ignore
errors w/o any error trapping. Maybe my defaults are set to ignore
errors. I only trap errors when I there's a possibility of catastrophic
failure. (Example, DB is down -- SELECT * FROM zzz returns an error so
the row count is 0 -- page looks normal except there's no content versus
some generic apache error message.)




Davis, Sean (NIH/NHGRI) wrote:
> Point taken.  However, in a perl/DBI setting, the program does die unless I
> explicitly trap the error, etc.  So, it is a convenience, true enough, but
> not an issue that I had to deal with in MySQL, so just thought I would ask.

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

Предыдущее
От: aditya s
Дата:
Сообщение: Running pgreplicator 1.1.0 in redhat linux 9.0
Следующее
От: "Pradeepkumar, Pyatalo (IE10)"
Дата:
Сообщение: Re: Function to convert bigint to date