Re: COMMIT in PostgreSQL

From: "Sam Liddicott" <sam(dot)liddicott(at)ananova(dot)com>
To: <stefan(at)extum(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: COMMIT in PostgreSQL
Date: 2002-07-19 11:24:10
Message-ID: D38A0FCD5830E848992DF2D4AF5F6F4FB953E3@conwy.leeds.ananova.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You probably need to execute a "begin;" statement first if you want to start
a transaction.

Sam

> -----Original Message-----
> From: stefan(at)extum(dot)com [mailto:stefan(at)extum(dot)com]
> Sent: 20 July 2002 12:51
> To: pgsql-general(at)postgresql(dot)org
> Subject: [GENERAL] COMMIT in PostgreSQL
>
>
>
> Hey,
>
> I was running a script which does some INSERTS and UPDATE
> some table. I
> found that there is no need for COMMIT; After each statement
> the TABLE is
> immediately commited. Other session via psql can sees ASAP
> the changes to
> the table. So it seems a bit different than Oracle's COMMIT .
> Can somebody
> explain me why this is so in PostgreSQL ?
>
> Are the modifications done without commit statement ?
>
> PostgreSQL looks really interesting and seems to be good SQL
> compliant.
> stefan
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2002-07-19 11:30:07 Re: COMMIT in PostgreSQL
Previous Message Steve Brett 2002-07-19 11:23:14 Re: COMMIT in PostgreSQL