Re: Making changes visible to other connections

Поиск
Список
Период
Сортировка
От andrew@ugh.net.au
Тема Re: Making changes visible to other connections
Дата
Msg-id Pine.BSF.4.21.0010110011210.41582-100000@starbug.ugh.net.au
обсуждение исходный текст
Ответ на Re: Making changes visible to other connections  (andrew@ugh.net.au)
Список pgsql-general
Hmm...It seems I was barking up completely the wrong tree. Everything now
works as I would expect without having to use a transaction.

I'm not exactly sure why but I think it may have been permissions...I
dropped the database and recreated it so it was owned by the user trying
to do the update and now it works fine.

Questions that now come to mind:

1) If it was permissions why did the returned result from PQExec indicate
everything was OK?
2) If it was permissions how come nothing is logged in errlog?
3) If it wasn't permissions what was it?
4) Is there any way to chown a database and tables? I'm guessing its an
update on some system table?

Thanks to Brett McCoy for his assistance,

Andrew



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

Предыдущее
От: "Trewern, Ben"
Дата:
Сообщение: Listing Triggers corresponding to foreign keys
Следующее
От: "Efrain Caro"
Дата:
Сообщение: Re: Delphi PostgreSQL Forum