Re: Transactions in one table

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: Transactions in one table
Дата
Msg-id edb1a2bc-97e9-0cae-9496-92baddd5a663@gmail.com
обсуждение исходный текст
Ответ на Transactions in one table  (JORGE MALDONADO <jorgemal1960@gmail.com>)
Список pgsql-sql
On 9/27/19 10:21 AM, JORGE MALDONADO wrote:
> Hi,
>
> Does it make any sense to use transactions if only one DB operation is 
> performed in only one table?
> For example, insert only one record in a "countries" table without 
> doing anything else in other table(s). One operation, one table, 
> that´s it.
>
> Best regards,
> Jorge Maldonado


When making changes interactively I highly recommend begin; <sql>; like 
the number of affected rows; commit;




В списке pgsql-sql по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Transactions in one table
Следующее
От: "Voillequin, Jean-Marc"
Дата:
Сообщение: RE: Automatically updating a new information column in PostgreSQL