Re: open transaction?

From: Terry Lee Tucker <terry(at)chosen-ones(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: open transaction?
Date: 2008-12-29 11:57:48
Message-ID: 200812290657.48399.terry@chosen-ones.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday 29 December 2008 06:48, blackwater dev wrote:
> I just logged into postgres from the command line and did:
>
> begin:
>
> select blah;
> select blah;
>
> \q
>
> Without thinking I closed by connection before committing or rolling back
> my transaction. Did postgres handle this for me? How do I see if the
> transaction is still open?
>
> Thanks!

If you don't commit, it is rolled back when you exit.

--
Terry Lee Tucker
Turbo's IT Manager
Turbo, division of OHL
2251 Jesse Jewell Pkwy
Gainesville, GA 30501
tel: (336) 372-6821 cell: (336) 404-6987
terry(at)turbocorp(dot)com
www.turbocorp.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-12-29 12:06:04 Re: open transaction?
Previous Message Raymond O'Donnell 2008-12-29 11:53:54 Re: open transaction?