| From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
|---|---|
| To: | Nicolas Barbier <nicolas(dot)barbier(at)gmail(dot)com> |
| Cc: | Noah Misch <noah(at)leadboat(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Temporary tables under hot standby |
| Date: | 2012-04-25 09:10:31 |
| Message-ID: | CA+U5nMKS54nGPkLxiXfnOAquU_Fqv6T73jjZtj-FoGp9JctHPw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Apr 25, 2012 at 9:37 AM, Nicolas Barbier
<nicolas(dot)barbier(at)gmail(dot)com> wrote:
> The declarative creation of an “standard-like” temporary table only
> happens once (it is part of the schema). Using (e.g. putting stuff in
> and executing queries on) such tables can happen on the standby
> without the master having to know.
So you are saying it is OK to not be able to *create* them on HS, just
*use* pre-defined tables?
That's almost useless IMHO.
Applications expect to be able to do this all in the same transaction
on one session
CREATE TEMP TABLE x;
...DML commands...
SELECT ... FROM x;
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kohei KaiGai | 2012-04-25 09:40:23 | [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database) |
| Previous Message | Nicolas Barbier | 2012-04-25 08:37:16 | Re: Temporary tables under hot standby |