Tom Lane wrote:
Gerardo Herzig <[EMAIL PROTECTED]> writes:
Hi all. Im having some "problems" with a small concurrent plpython function.
Don't even *think* about starting multiple threads inside the Postgres
backend. It's an excellent way to break things.
rega
Gerardo Herzig <[EMAIL PROTECTED]> writes:
> Hi all. Im having some "problems" with a small concurrent plpython function.
Don't even *think* about starting multiple threads inside the Postgres
backend. It's an excellent way to break things.
regards, tom lane
Hi all. Im having some "problems" with a small concurrent plpython function.
Based on a small example [1] about concurrent programming, there is some
code which works fine under python:
#! /usr/bin/python
import threading, random
import time
def myPrint(str):
print 'searching...', str
t