Oracle Pro*C/OCI install handlers for SIGSEGV/SIGABRT and friends - why, and how to disable?

前端 未结 2 2053
夕颜
夕颜 2020-12-03 17:32

When using Pro*C (a embedded SQL preprocessor from Oracle for C-Code) or OCI I noticed that the connect/init routine installs some signal handlers.

That means before

2条回答
  •  清歌不尽
    2020-12-03 18:31

    Signal handling and diagnostic framework considerations: the OCI diagnostic framework installs signal handlers that may impact any signal handling that you use in your application. You can disable OCI signal handling by setting

    DIAG_SIGHANDLER_ENABLED=FALSE
    

    in the sqlnet.ora file. Refer to "Fault Diagnosability in OCI" in Oracle Call Interface Programmer's Guide for information.

    Please try to configure this environment variable in sqlnet.ora file

提交回复
热议问题