pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Weng <wweng@kencast.com>
To: 'Robert Treat' <xzilla@users.sourceforge.net>
Cc: pgsql-sql@postgresql.org
Subject: 答复: [SQL] Is this valid?
Date: Mon, 12 Aug 2002 23:52:05 -0400
Message-ID: <000501c2427c$cac744b0$2f437242@wahaha> (raw)
In-Reply-To: <1029197405.2981.2.camel@camel>

I am using C++ and libpq. 


Thanks

Wei


-----邮件原件-----
发件人: Robert Treat [mailto:xzilla@users.sourceforge.net] 
发送时间: Monday, August 12, 2002 8:10 PM
收件人: Wei Weng
抄送: pgsql-sql@postgresql.org
主题: Re: [SQL] Is this valid?

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@postgresql.org so that your
> message can get through to the mailing list cleanly









Message-ID: <000501c2427c$cac744b0$2f437242@wahaha>
Permalink:  ../000501c2427c$cac744b0$2f437242@wahaha/
Also on:    postgresql.org/message-id/000501c2427c$cac744b0$2f437242@wahaha

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: wweng@kencast.com, xzilla@users.sourceforge.net
  Subject: Re: 答复: [SQL] Is this valid?
  In-Reply-To: <000501c2427c$cac744b0$2f437242@wahaha>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox