> To be clear, part of "retrying from the beginning" means that if a
> result from one statement is used to determine the content (or
> whether to run) a subsequent statement, that first statement must be
> run in the new transaction and the results evaluated again to
> determine what to use for the later statement.  You can't simply
> replay the statements that were run during the first try.  For
> examples, to help get a feel of why that is, see:

> https://wiki.postgresql.org/wiki/SSI

Thank you again! :))

-- 
Marina Polyakova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company