read only transaction, temporary tables

Поиск
Список
Период
Сортировка
От Carl R. Brune
Тема read only transaction, temporary tables
Дата
Msg-id Pine.LNX.4.61.0608081307120.8025@cerastes.phy.ohiou.edu
обсуждение исходный текст
Ответы Re: read only transaction, temporary tables  (John DeSoi <desoi@pgedit.com>)
Список pgsql-general
I recently tried to do something like the following

BEGIN READONLY;
...
CREATE TEMPORARY TABLE ABC AS SELECT ...
...
COMMIT;

and it failed because CREATE is not allowed within a read-only
transaction. The select is something long and complicated (pieced
together with php) and I'm just trying to be careful. What
other alternatives are there for accomplishing this? Preferably
simple ones...

Thanks,

Carl Brune

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: running PostGres without installing it
Следующее
От: Ben
Дата:
Сообщение: Re: DISTINCT to get distinct *substrings*?