Transactions, SQL и PostgreSQL