From: Chris Williams <chris_d_williams@itd.sterling.com>
To: pgsql-interfaces@postgresql.org
Subject: Problem using libpsql.a
Date: Wed, 9 Sep 1998 16:34:42 -0400
Message-ID: <03a301bddc31$4b09bec0$edfe04c7@itd.sterling.com> (raw)
I have an application that forks of a process and is updating a table in my postgres database. When
I have the parent process query that table to see how much has completed I get weird results.
Sometimes it works, sometimes it core dumps, and sometimes I get back a NULL results structure. But
if I type that same query into my psql window, I get back the correct results everytime. Currently
I don't do any type of locking on any of the tables. My question is should I be doing some locking
and why is the query using the psql command prompt working and my direct call in my C code isn't?
Thanks!!
---------
Chris Williams
Sterling Software
Rome, New York
Phone: (315) 336-0500
Email: chris_d_williams@sterling.com
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-interfaces@postgresql.org
Cc: chris_d_williams@itd.sterling.com
Subject: Re: Problem using libpsql.a
In-Reply-To: <03a301bddc31$4b09bec0$edfe04c7@itd.sterling.com>
* 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