From: | Marko Kreen <markokr(at)gmail(dot)com> |
---|---|
To: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
Cc: | Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: URGENT: temporary table not recognized? |
Date: | 2012-01-06 22:27:14 |
Message-ID: | CACMqXCLr4vjtFMS8f3=VO3pywjgbY4NSPCqnfSj9MqYXmG-nBQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Jan 6, 2012 at 11:24 PM, Steve Crawford
<scrawford(at)pinpointresearch(dot)com> wrote:
> On 01/06/2012 01:11 PM, Phoenix Kiula wrote:
>>
>> On Fri, Jan 6, 2012 at 11:46 AM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>>
>>> Phoenix Kiula<phoenix(dot)kiula(at)gmail(dot)com> writes:
>>>>
>>>> Hi. I'm using Postgresql 9.0.5, and the connection is made via
>>>> pgbouncer.
>>>
>>> Perhaps pgbouncer is redirecting the second command to a different
>>> session?
>>>
>>
>>
>> Thanks Tom. I'm in the exact same session in my terminal, and the
>> commands are entered within 2 seconds of each other. With copy/paste,
>> maybe split microseconds of each other.
>>
>> How can I make sure pgbouncer takes it all in the same session? I also
>> tried the two commands within a transaction.
>>
>
> Sounds like you are using statement pooling - every statement can be
> assigned to a different server connection. You may need transaction pooling
> or session pooling:
>
> http://pgbouncer.projects.postgresql.org/doc/usage.html
Statement pooling throws error on open transaction.
--
marko
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-01-06 22:57:54 | Re: URGENT: temporary table not recognized? |
Previous Message | Lee Hachadoorian | 2012-01-06 21:56:17 | Re: JOIN column maximum |