Re: COMMIT in PostgreSQL
| От | stefan@extum.com |
|---|---|
| Тема | Re: COMMIT in PostgreSQL |
| Дата | |
| Msg-id | Pine.LNX.4.44.0207201503280.3777-100000@extum.com обсуждение исходный текст |
| Ответ на | Re: COMMIT in PostgreSQL (Stephane Bortzmeyer <bortzmeyer@nic.fr>) |
| Ответы |
Re: COMMIT in PostgreSQL
|
| Список | pgsql-general |
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@postgresql.org
>
В списке pgsql-general по дате отправления: