Re: Newbie to Postgres - Urgent query
| От | merlyn@stonehenge.com (Randal L. Schwartz) |
|---|---|
| Тема | Re: Newbie to Postgres - Urgent query |
| Дата | |
| Msg-id | 8665fb66yq.fsf@blue.stonehenge.com обсуждение исходный текст |
| Ответ на | Re: Newbie to Postgres - Urgent query (Dustin Sallings <dustin@spy.net>) |
| Список | pgsql-general |
>>>>> "Dustin" == Dustin Sallings <dustin@spy.net> writes: Dustin> Perhaps it's just style, but I can't think of any case where Dustin> I'd want normal execution to continue upon DB error without explicit Dustin> code to handle the situation. Likewise, I certainly wouldn't want to Dustin> bother writing extra code every time I require something to succeed. My DBI standard method is to call RaiseError => 1, PrintError => 0. It just seems to make for easier to read code. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
В списке pgsql-general по дате отправления: