Skip site navigation (1) Skip section navigation (2)

libpq++ and threads

From: "Glenn MacGregor" <gtm(at)oracom(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: libpq++ and threads
Date: 2002-02-25 14:01:37
Message-ID: 037101c1be04$f0d879f0$4d00a8c0@catamount (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-interfaces
Hi All,

I am new to libpq++ so if this was asked already I am sorry (I have searched
the logs).  I have written a threaded app which I am moving to interface
with a postgres database.  Tha app receives messages and passes each message
to a thread with inserts or updates the database.  I have one pgDatabase
object which all the threads use.  Can these threads all access that object
or do I need to syncronize them?

    Thanks


            Glenn


Responses

pgsql-interfaces by date

Next:From: Oliver ElphickDate: 2002-02-25 15:22:18
Subject: Re: Starting psql without a database connection
Previous:From: Bob TDate: 2002-02-25 06:38:01
Subject: template Database

pgsql-general by date

Next:From: Gregory WoodDate: 2002-02-25 14:02:52
Subject: Re: About functions
Previous:From: Nikola MilutinovicDate: 2002-02-25 14:00:27
Subject: A minor bug and a complaint

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group