From: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
---|---|
To: | Wei Weng <wweng(at)kencast(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Is this valid? |
Date: | 2002-08-13 00:10:05 |
Message-ID: | 1029197405.2981.2.camel@camel |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I'm going to ask the crazy question of what language/interface are you
using to interact with postgres? Based on my interpretation of your
question I'd say that won't break (though one of your queries might
fail) but then again I may be totally misreading what you wrote...
Robert Treat
On Mon, 2002-08-12 at 19:21, Wei Weng wrote:
> I am not sure if this is the right mailing list I talk to. Please let me
> know if I had violated any unwritten rules. :)
>
> I have a global variable PGconn* m_pgconn that is the connection handle
> for connecting to the postgresql database. Can I access/use the handle
> from multiple threads? Say I have a thread that does some insertion
> through this handle/database connection(m_pgconn) and also another
> thread that do some insertion *on the same table* through this
> handle(m_pgconn), will that break?
>
> Thanks
>
>
> --
> Wei Weng
> Network Software Engineer
> KenCast Inc.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
From | Date | Subject | |
---|---|---|---|
Next Message | Brian Cawthon | 2002-08-13 00:31:14 | Problems using UPDATE and SUM |
Previous Message | Wei Weng | 2002-08-12 23:21:29 | Is this valid? |