Re: read only transaction, temporary tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: "Carl R(dot) Brune" <brune(at)ohio(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: read only transaction, temporary tables
Date: 2006-08-09 14:26:37
Message-ID: 19861.1155133597@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton <dev(at)archonet(dot)com> writes:
> Carl R. Brune wrote:
>> I should have added that I want to make further use of the temporary
>> table after the COMMIT -- the rollback approach you propose makes it
>> go away.

> In which case the transaction isn't READONLY.

It does seem a bit inconsistent that we allow you to write into a temp
table during a "READONLY" transaction, but not to create/drop one.
I'm not excited about changing it though, as the tests to see if
the command is allowed would become vastly more complex.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harpreet Dhaliwal 2006-08-09 15:02:00 Connection string
Previous Message Kenneth Downs 2006-08-09 14:22:20 Not so much load balancing as load limits