Reputation: 383
var qrStr = "delete from products where product_ID = 3;";
var qr = new NpgsqlCommand(qrStr, connection);
qr.ExecuteNonQuery();
The problem is that when qr is being executed, my program completely freezes. product_ID is foreign key for some table.
I think I would get an Npgsql exception, but this happened.
I use Npgsql of some outdated version still.
Upvotes: 0
Views: 215
Reputation: 383
Looks like a bug. Got Npgsql of last version and now it's working fine.
Upvotes: 2