Re: COMMIT in PostgreSQL

From: stefan(at)extum(dot)com
To: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COMMIT in PostgreSQL
Date: 2002-07-20 13:31:48
Message-ID: Pine.LNX.4.44.0207201630290.3978-100000@extum.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Thanks all for help.

I really like the way how postgresql lists are working and, answers,
feedback.
Stefan

On Sat, 20 Jul 2002 stefan(at)extum(dot)com wrote:

>
>
> That's right you define a block transaction in this way.
> I was a bit confused because each query performed the results are
> commited in table without no need of COMMIT.
>
> thank you,
> stefan
>
>
> > BEGIN;
> >
> > INSERT INTO Domains (name, tech_contact, admin_contact, billing_contact, owner)
> > VALUES ('pasteur.eu', 1, 1, 1, 1);
> >
> > INSERT INTO Domains (name, tech_contact, admin_contact, billing_contact, owner)
> > VALUES ('postgresql.eu', 1, 1, 1, 1);
> >
> > COMMIT;
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-07-20 14:19:43 Re: Linux max on shared buffers?
Previous Message Tom Lane 2002-07-20 13:22:09 Re: Linux max on shared buffers?