Re: commit changes?

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: commit changes?
Дата
Msg-id 4ec1cf760908240847i1387746en42fc2b5ba0e0b4df@mail.gmail.com
обсуждение исходный текст
Ответ на commit changes?  ("Tracey, Michelle" <Michelle_Tracey@sra.com>)
Список pgsql-novice
Disclaimer: I don't actually use pgAdmin myself, so my reply is based
on minimal googling.

On Tue, Aug 18, 2009 at 5:57 PM, Tracey,
Michelle<Michelle_Tracey@sra.com> wrote:
> 1) I did all the changes as a user who was not the table owner, just one
> with access to the tables.  Could this be why the queries are coming back
> without my columns?

If you lack the necessary privileges to INSERT or UPDATE the table in question,
pgAdmin should show you an error window saying something like
"permission denied for ... ". Otherwise, your modifications should be
committed.

> 2) I’m not aware of an equivalent option in PGAdmin III that performs a
> ‘commit’.  Is this necessary in order for my changes to go through?  The odd
> thing is that I’ve closed my database connection and reopened it, so the
> changes are SOMEWHERE.

pgAdmin runs in "auto commit mode", similar to the behavior of the command-line
psql client. This means each query you execute implicitly runs inside its own
transaction. See this discussion for more info:
http://www.nabble.com/PGAdmin-Auto-commits--td19778774.html

 - Josh

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

Предыдущее
От: Jignesh Shah
Дата:
Сообщение: compile and install trigger
Следующее
От: Kushal Vaghani
Дата:
Сообщение: Install from Source On Windows - University of Sydney Research