Search Postgresql Archives

Re: Concurrenctly running CREATE TEMP TABLE IF NOT EXISTS [...] AS [...]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> That's what I understood as well, but I'm creating those concurrently
> WITHIN one and the same session and transaction. :-) 

Did I interpret this as "two different sessions via application threads within the same transactions of PG".
Does the thread create its own PG session for each thread or share it across threads.

I would be wary of running concurrent threads within the same transactions. RDBMSs are not designed
to allow multiple SQLstatements running concurrently within the same session, if at all possible.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux