pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Fabiani <johnf@jfcomputer.com>
To: pgsql-sql@postgresql.org
Subject: Can I read the data without commit
Date: Fri, 23 Mar 2012 14:33 -0700
Message-ID: <2388789.tLQtTxa0cR@linux-12> (raw)

Hi,
I know this is a newbie question but I have never had the need to do the 
following.

I start a transaction.
Begin

Then I insert a lot of data - let's say two hundred rows.

Now I need to read the same data (so the user can review).

If the user thinks all is right then 
commit.

Can I read the data I just inserted without committing?

Johnf



view thread (7+ messages)  latest in thread

Message-ID: <2388789.tLQtTxa0cR@linux-12>
Permalink:  ../2388789.tLQtTxa0cR@linux-12/
Also on:    postgresql.org/message-id/2388789.tLQtTxa0cR@linux-12

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: johnf@jfcomputer.com
  Subject: Re: Can I read the data without commit
  In-Reply-To: <2388789.tLQtTxa0cR@linux-12>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox