From: | David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: any way for a transaction to "see" inserts done earlier in the transaction? |
Date: | 2014-04-17 16:25:43 |
Message-ID: | 1397751943879-5800567.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Please note that everyone here but you is bottom-posting; please follow the
convention and list standard.
Susan Cassidy-3 wrote
> It is never committed, because the lookup for the insert fails.
So, alter the code so only the first insert happens then stop further
processing and go explore that state of the database.
Or, add a "commit" after the initial insert so at least that is memorialized
for future research even if the rest of the code fails.
You are going to have to do some leg-work here; a pure thought experiment is
not going to cut it.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/any-way-for-a-transaction-to-see-inserts-done-earlier-in-the-transaction-tp5800432p5800567.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2014-04-17 16:32:15 | Re: any way for a transaction to "see" inserts done earlier in the transaction? |
Previous Message | Bruce Momjian | 2014-04-17 15:45:42 | Re: pg_upgrade & tablespaces |