Re: No commit nor Rollback button

Поиск
Список
Период
Сортировка
Искать
От
Michael Rasmussen
Тема
Re: No commit nor Rollback button
Дата
Msg-id
75D7B38F-3B1F-4E44-A6C4-07CB4591CD2E@porch.com
Ответ на
Список
Дерево обсуждения
No commit nor Rollback button legrand legrand <legrand_legrand@hotmail.com>
Re: No commit nor Rollback button dangal <danielito.gallo@gmail.com>
Re: No commit nor Rollback button Melvin Davidson <melvin6925@yahoo.com>
Re: No commit nor Rollback button Dave Page <dpage@pgadmin.org>
Re: No commit nor Rollback button dangal <danielito.gallo@gmail.com>
Re: No commit nor Rollback button legrand legrand <legrand_legrand@hotmail.com>
Re: No commit nor Rollback button Melvin Davidson <melvin6925@yahoo.com>
Re: No commit nor Rollback button "David G. Johnston" <david.g.johnston@gmail.com>
Re: No commit nor Rollback button Michael Rasmussen <michaelr@porch.com>
Re: No commit nor Rollback button Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>
Re: No commit nor Rollback button legrand legrand <legrand_legrand@hotmail.com>
Re: No commit nor Rollback button Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>
Re: No commit nor Rollback button Dave Page <dpage@pgadmin.org>
Re: No commit nor Rollback button "David G. Johnston" <david.g.johnston@gmail.com>
Re: No commit nor Rollback button Francis Fish <francis.fish@pharmarketeer.com>
Re: No commit nor Rollback button dangal <danielito.gallo@gmail.com>
Re: No commit nor Rollback button Vano Beridze <vano.beridze@silkroad.ge>

DataGrip has transaction control in the tool menu. It is pretty handy to have that toggle at hand.

 

Yes, I know how to write a manual transaction, but the point of using a GUI tool is to speed things up and make my life as a Data Engineer easier. It is not for forcing me to type extraneous commands repeatedly.

 

 

 

-- 

Michael Rasmussen

Sr. Data Engineer

Porch

 

From: "David G. Johnston" <david.g.johnston@gmail.com>
Date: Monday, October 16, 2017 at 11:30 AM
To: Melvin Davidson <melvin6925@yahoo.com>
Cc: "pgadmin-support@postgresql.org" <pgadmin-support@postgresql.org>, legrand legrand <legrand_legrand@hotmail.com>
Subject: Re: No commit nor Rollback button

 

On Mon, Oct 16, 2017 at 11:16 AM, Melvin Davidson <melvin6925@yahoo.com> wrote:

You don't need buttons. 

 

Just go to

File

  Preferences

    SQL Editor

 

and change Auto commit?   to False

       and Auto rollback? to False

 

Or whatever you prefer.

That is what those options are for!

 

Or learn how to use a TRANSACTION in PostgreSQL.

IE:

BEGIN;

 

 

​Personally, if I'm in a GUI I'd prefer buttons.  They both allow one to quickly see whether they are in a transaction or not (by greying out the buttons when their use is not applicable) and provide a mouse user a very quick way to commit/rollback the query they just executed via clicking the "run query" button.

 

This has absolutely nothing to do with "Auto Commit/Rollback" other than the buttons would only be meaningful when said option is disabled.

 

​David J.

В списке pgadmin-support по дате отправления
От: legrand legrand
Дата:
От: Murtuza Zabuawala
Дата:
FAQ