Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Answer: Does DBI/DBD break when upgrading Oracle server or client?

by cavac (Deacon)
on Jul 15, 2012 at 21:25 UTC ( #981931=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > Does DBI/DBD break when upgrading Oracle server or client? - Answer contributed by cavac

That is not so simple to answer.

First of all, check Oracle's documentation on which client library can interact with which server version.

You should also check the documentation of your installed DBD::Oracle module (run perldoc DBD::Oracle). If you upgrade the client libraries, you may have to upgrade DBD::Oracle as well; check DBD::Oracle, under the heading "WHICH VERSION OF DBD::ORACLE IS FOR ME?". If you install a new version via the cpan shell (or ppm), it should pull a newer DBI automatically if required.

A note of warning: If you upgrade, relocate, or in any other way change the installed closed-source Oracle client libraries, you should always recompile/reinstall DBD::Oracle. Otherwise, your program might fail, crash, have memory leaks, etc.

  • Comment on Answer: Does DBI/DBD break when upgrading Oracle server or client?
  • Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[1nickt]: ++YourMother (Grammar Vigilante of Bristol)
[Lady_Aleena]: Um, how does grep do multiline? print "$file:$_" if grep { /get_(array|hash| data)\(.+\)/ } $_; only returns the same 18 lines the command line grep does.
[Lady_Aleena]: my scratchpad has what I have so far.
[choroba]: what do you mean by multiline?
[Discipulus]: thanks 1nickt!
[choroba]: grep is a filter, it selects elements from a list based on a boolean condition
[moritz]: you need to read the file in one go to do a multiline regex match
[erix]: ha ha, I like the Vigilante
[Lady_Aleena]: Forget it. I'm getting angry with it.
[Lady_Aleena]: I'll just have to search for the files using the subs and open them up.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-05-23 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?