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  (stefan@extum.com)
Список 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 по дате отправления:

Предыдущее
От: stefan@extum.com
Дата:
Сообщение: Re: COMMIT in PostgreSQL
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: COMMIT in PostgreSQL