Can I read the data without commit

From: John Fabiani <johnf(at)jfcomputer(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Can I read the data without commit
Date: 2012-03-23 21:33:00
Message-ID: 2388789.tLQtTxa0cR@linux-12
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jonathan S. Katz 2012-03-23 21:40:49 Re: Can I read the data without commit
Previous Message Edward W. Rouse 2012-03-22 21:05:41 Re: ignore case in where clause