Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OCI cursors and fork().

OCI cursors and fork().

From: <geraintwilliams_at_my-dejanews.com>
Date: Thu, 19 Nov 1998 14:12:35 GMT
Message-ID: <731906$a4m$1@nnrp1.dejanews.com>


Can you help?

I am trying to write a small server program (c with OCI calls), which logs into the database and forks a process to execute a piece of SQL for each request it receives.

However, I am unable to open and use cursors from separate processes concurrently. Is there a way around this, or will I have to open a new connection to Oracle each time I fork?

I am using oracle 7.3.4

    Many thanks to anyone who can help me.

       Geraint

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Nov 19 1998 - 08:12:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US