Basic question on PGSQL and Transactions

From: Henri De Feraudy <feraudyh(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Basic question on PGSQL and Transactions
Date: 2010-09-29 16:31:57
Message-ID: 218640.28664.qm@web110801.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
I've been writing an application that allows me to edit simple maps. It
involves Postgis but here I think I have run into
a basic Postgres consideration.
I did a bit of editing of a map which involved creating a polygon with a
selection, inserting into a database and reloading
the "layer" where this geometric information lies.
There I was editing quite happily for about an hour and a half. I left my
application and came back to it in the evening:
all my work was lost.
Could this be due to the fact I had not committed my insertions to the database?
I mean, if you are inserting into a table from PLPGSQL do you have to do an
explicit commit at some stage?
I'm really quite a newbie as you can see.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2010-09-29 16:38:34 Re: Basic question on PGSQL and Transactions
Previous Message Grzegorz Jaśkiewicz 2010-09-29 15:43:04 Re: disable trigger all