DBIx::Recordset extensions...

2001-10-30 Thread Oliver Jones
Howdy folks. This is my first post to this list (I'm a brand new subscriber) though I've been using DBI for a while now. I have a question regarding DBIx::Recordset. A module I downloaded just today. Firstly, this module will be of great use in something I'm building but it would be of ev

bug fix and enhancement patch for DBD::Pg 1.01

2001-10-30 Thread Mark Stosberg
Hello, I have a minor bug fix and enhancement patch for DBD::Pg 1.01. It concerns the "table_info" method. First, the bug fix: When selecting information about views, the syntax "c.relkind = 'r'" is used when it should be: "c.relkind = 'v'" It's documented here that 'r' is used for "regular" ta

DBI-1.20 won't build

2001-10-30 Thread Andrew Peebles
Can't get the sucker to build ... no trouble building lots 'o other things, but not this. Details: root@vader[188]# uname -a SunOS vader 5.8 Generic_108528-07 sun4u sparc SUNW,UltraAX-i2 root@vader[189]# perl Makefile.PL Remember to actually *read* the README file! Use 'make' to build

Re: DBD::Pg breaks with embedded ASCII nulls

2001-10-30 Thread Jeff Boes
On Thu, 25 Oct 2001 14:10:10 -0400 Jeff Boes <[EMAIL PROTECTED]> wrote: > The following code fails with an 'Unterminated quote string' error. > > #!/usr/bin/perl -w > use strict; > use DBI; > use Carp; > > my $dbh = DBI->connect('dbi:Pg:dbname=nexcerpt', '', '', {AutoCommit=>0, >

failed make test

2001-10-30 Thread Laurie Gennari
The output told me to report this to the list, so here I am... Oracle 8.1.7.2 perl -V: Characteristics of this binary (from libperl): Built under solaris Compiled at Apr 3 1999 00:26:08 @INC: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib

RE: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Sterin, Ilya
You can use the CPAN.pm module to install or update any module. As far as fixing this, just install DBI with the correct perl version and then you'll be able to use without modifying @INC. Otherwise you will have to modify @INC in all scripts, which I wouldn't recommend because of some older per

Re: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Jake Hoban
Thanks! I think you must have found the answer, because that's certainly true. I was using perl 5.6.0 until yesterday - I'm sorry, I should have mentioned that before. DBI was installed while I was still running 5.6.0, it was actually in the process of trying to fix something else that I ended

Re: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Jake Hoban
Yes, they all exist with the right permissions. I just tried changing the ownership to that of the user trying to run the script, but that didn't work, so I changed it right back! Wilson, Doug wrote: >> From: Jake Hoban [mailto:[EMAIL PROTECTED]] >> >> Can't locate loadable object for module

Re: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Jake Hoban
No, it's not that. The shebang says #!/usr/bin/perl, and "which perl" returns the same path - although I've actually got it installed at /usr/local/bin/perl as well (that was one of the options during the installation). [EMAIL PROTECTED] wrote: > In your script's shebang line, are you perhap

RE: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Sterin, Ilya
This is because the script you are using is run with a different perl version that was used to install DBI. Also you might of installed DBI in a non standard directory, which will not append it to @INC. See perldoc perlvar for more info on @INC. Ilya -Original Message- From: Jake Hoban

RE: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Wilson, Doug
> From: Jake Hoban [mailto:[EMAIL PROTECTED]] > > Can't locate loadable object for module DBI in @INC (@INC contains: > /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux > /usr/local/lib/perl5/site_perl/5.6.1 > /usr/local/lib/p

Re: Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Jeff Seger
In your script's shebang line, are you perhaps using: #!/usr/local/bin/perl ? Try a "which perl" from the command line and see if it varies from your shebang line. Perhaps /usr/bin/perl? Jake Hoban wrote: > Hi > > I'm new to this list, but I've looked through the archives before > posting and

Can't locate loadable object for module DBI in @INC

2001-10-30 Thread Jake Hoban
Hi I'm new to this list, but I've looked through the archives before posting and I can't find the exact answer to this, only a few ideas. I'm running Red Hat Linux 7.1, using Perl 5.6.1 and trying to get DBI 1.20 to work. I've tried installing two different ways - by downloading the tar.gz, r

DBI::DB2 Sessions

2001-10-30 Thread Ryan J Wyler
I am doing CGI on the webserver and want "Session Management". I have looked into Apache::Session and am trying to see if I can get that working but there is lots of documentation to get it working with MySQL but I'm not sure if it works with DB2. Anyone have any experiance with this? Thanks.

RE: MySQL and Foreign keys

2001-10-30 Thread Sterin, Ilya
You are right, though not sure where, I remember seeing that they are available in BDB tables, though now I know it's false after looking at mysql docs. Thanks. Ilya -Original Message- From: [EMAIL PROTECTED] To: Sterin, Ilya Cc: 'Vuillemot, Ward W '; '[EMAIL PROTECTED] ' Sent: 10/30/01

Re: MySQL and Foreign keys

2001-10-30 Thread Etienne Marcotte
I run a database with a lot of tables used only to reference two other tables. Sometimes they use a couple other fields also. After some testing, I preferred to use multiple selects (one per relationship table) since the result of the query was getting way to huge when having 4-5 relationship tab

Re: MySQL and Foreign keys

2001-10-30 Thread mickalo
I believe it only supports FK's with InnoDB table handlers, not BDB, with the recent release of 4.0 alpha... which is extermely "Buggy"... :) >>On Tue, 30 Oct 2001 08:48:42 -0700, "Sterin, Ilya" <[EMAIL PROTECTED]> wrote: >>This is not DBI related, so please post to appropriate list. >> >>My

SV: Can't locate DBI.pm - Oracle DBD

2001-10-30 Thread Melton Cline Presley
Ilya, Thank you for your help! This is undoubtedly old hat to you guys, but I was confused by installation instructions for other modules that refer to a PREFIX parameter that announces installation in nonstandard directories. Anyway, I finally got DBI and DBD::Oracle installed successfully. D

RE: MySQL and Foreign keys

2001-10-30 Thread Sterin, Ilya
This is not DBI related, so please post to appropriate list. MySQL did not support foreign keys until recently, and even now it's limited to BDS tables. Ilya -Original Message- From: Vuillemot, Ward W To: [EMAIL PROTECTED] Sent: 10/30/01 8:37 AM Subject: MySQL and Foreign keys I would

MySQL and Foreign keys

2001-10-30 Thread Vuillemot, Ward W
I would like to know how people handle foreign keys with mysql. Has anyone ever created a relationships table for use with other tables? If so, what types of fields did you find necessary to define the relationships? How did you handle parent-child relationships -- when parents are deleted all th

Re: Generic add/update/delete/list script

2001-10-30 Thread william ross
At 7:12 am -0800 30/10/01, Bill Moseley wrote: >Hi, > >I've found a number of generic CGI scripts for simple table operations, but >nothing great. Is there one that's well-coded, where I can simply specify >the the column data types, and validation routines and be done? In a >perfect world it wo

Generic add/update/delete/list script

2001-10-30 Thread Bill Moseley
Hi, I've found a number of generic CGI scripts for simple table operations, but nothing great. Is there one that's well-coded, where I can simply specify the the column data types, and validation routines and be done? In a perfect world it would be Template-Toolkit based, too. Thanks, Bill Mo

Re: DBD::DB2 remote database

2001-10-30 Thread db2perl
Hi Ryan, To connect to a remote database, all you need to do is catalog the remote database. This means cataloging the node (ie. the server where the database resides) then cataloging the database at that node. Here's an extract from the DBD::DB2 perldoc: Data Source Names (DSNs) The data

Re: mod_perl and dbi

2001-10-30 Thread Andy Duncan
Hi Dan, > Can someone give me some examples of high-volume, high-profile sites using > mod_perl and dbi? A lot of people use Embperl (HTML::Embperl), often with mod_perl and DBI. You can see some of these sites here: => http://perl.apache.org/embperl/Sites.pod.1.html A lot of other people als

Re: installing DBI

2001-10-30 Thread Mark Thornber
Gary L. Burnore wrote: > At 16:14 10/29/2001, you wrote: > >> I get the following message when I run the make command on my system: >> >> I install the latest version of g++, but I think I am missing which >> variable needs to be set in order for this to work. Please help. >> >> Jason >> >> mk