Luiz Eduardo Cantanhede Neri <lecneri(at)gmail(dot)com> writes:> What happens if I open 2 or more transactions?
Nothing, because you can't.
Read up on savepoints, which are effectively subtransactions.
regards, tom lane