Re: Question

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Question
Дата
Msg-id 200504031712.06796.josh@agliodbs.com
обсуждение исходный текст
Ответ на Question  ("Mario Reis" <m.reis@bca.pt>)
Список pgsql-advocacy
Mario,

>         Well, i strongly beleave this isn't the best way of doing it. It
> should Raise an Exception for all the input
> fields or failures at the same time, joinning all the errors after an
> insert or update instruction and display/notify
> them at once. This way it w'll save time and resouces communications
> special in a large network with a large
> number of users. Sorry if i got it wrong. I also appologise if this isn't
> the right plece to put this question but
> i don't know where else puting it.

Actually, it wouldn't save database resources at all.   What if you're doing
an improper database update to 100,000 rows?  Do you really want the system
to test all 100,000 rows before returning an error?

Anyway, Chris is right, this isn't the right list for this question.  Try
pgsql-general or pgsql-sql.

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: [NOVICE] Function which gives back the
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Open source databases article