Page 1 of 1

SSIS distributed transaction support in dotConnect for PostgreSQL

Posted: Thu 12 Sep 2019 06:41
by Mikhail.Gvozdev
Hi DevArt folks :),

Could you please let me know if dotConnect for PostgreSQL supports distributed transactions in SSIS that use MSDTC?

I have a test SSIS package with a sequence container and two Data Flow tasks in it. TransactionOption for the sequence container is set to Required, and TransactionOption for Data Flow tasks is set to Supported.
Both Data Flow tasks perform bulk-load of data into destination tables, the first one contains valid SQL, and the second one contains purposely invalid SQL (attempt to insert Null into the Not Null column).

When I test this scenario Using SSIS 2017 with MS SQL Server 2017 - it works fine, the whole distributed transaction is aborted, and no data make its way to the destination tables.

However, when I do the same test using SSIS 2017 with PostgreSQL 9.5 and dotConnect for PostgreSQL 7.14.1437.0, the test fails as expected, SSIS reports that it is aborting distributed transaction for the component, but when I check data in the destination - the first table gets populated.

Could you please let me know whether this is the designed behavior, or I am missing some configuration settings in the connection managers?

Thanks!

Regards,

Mikhail

Re: SSIS distributed transaction support in dotConnect for PostgreSQL

Posted: Sat 14 Sep 2019 17:26
by Shalex
dotConnect for PostgreSQL doesn't support distributed transactions in SSIS.

Re: SSIS distributed transaction support in dotConnect for PostgreSQL

Posted: Mon 16 Sep 2019 00:29
by Mikhail.Gvozdev
Hi Shalex, thanks for the reply and clarification, much appreciated :)!

Regards,

Mikhail