Search Postgresql Archives

Re: Why ContinueUpdateOnError is not implemented in npgsql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Andrus" <kobruleht2@xxxxxx> writes:
> ContinueUpdateOnError requires that transaction continues after error. In 
> this case .NET can mark all bad rows in DataGrid. User can see all errors 
> together.
> ...
> There are only two ways fix this issue.
> NpgsqlDataAdapter must invoke automatic ROLLBACK after each error
> or use checkpoints before each command.

Yup, a savepoint before each command is required if that's the behavior
you want.  Yes, that adds overhead.  The reason it's not automatic is
exactly that it adds overhead, which many applications don't need or
want.  But if you have to have it, that's what you do.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux