From: | Rishi Sharma <rsharma(at)Bigstep(dot)net> |
---|---|
To: | "'s0lao(at)netscape(dot)net'" <s0lao(at)netscape(dot)net> |
Cc: | Jason(dot)Tishler(at)dothill(dot)com, pgsql-cygwin(at)postgresql(dot)org |
Subject: | RE: RE: tourble migrating from linux/Apache/postgresql/p erl to win2000/IIS/postgresql/perl |
Date: | 2001-06-11 22:11:47 |
Message-ID: | F902091518C1D411985D0008C7E6566C01FE05D9@ned.bigstep.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
SLao,
Let me try to clarify...the perl scripts try to load the Pg.pm module by
stating "use Pg". You say this should be a binary file? I found a few
copies of Pg.pm under .../perl/src or something like that, but it was ascii
text, I didn't dig too deep in to what it was doing.
I've found this http://www.edmund-mergl.de/export/DBD-Pg.zip from
symbolstone (http://dbi.symbolstone.org/cgi/moduledump?module=DBD::Pg)
hopefully it's all I need.
If I install postgresql-7.1.2 from Jason and drop in the libpq.dll and
Pg.dll in my winnt/system32 should I be able to access my database from cgi
scripts with simply stating "use Pg"??
There seems to be something missing here...
-----Original Message-----
From: s0lao(at)netscape(dot)net [mailto:s0lao(at)netscape(dot)net]
Sent: Monday, June 11, 2001 12:33 AM
To: rsharma(at)bigstep(dot)net
Cc: Jason(dot)Tishler(at)dothill(dot)com; pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] RE: tourble migrating from
linux/Apache/postgresql/perl to win2000/IIS/postgresql/perl
[After the previous reply I've noticed your posts in pgsql-general]
To quote one of the answers there, Pg and DBD::Pg are completely different.
You weren't very clear what interface your scripts use. If you used DBI/DBD
postgres interface for your scripts, you don't need any perl tweak to your
PostgreSQL build. For a Pg module, you should either find a binary distro
which has it included (very hard -- as this should be a solver build -- like
in openoffice -- including the prebuild source tree) or to build it
yourself.
As a last comment, DBD::Pg would be a better bet, because its build is not
based on PostgreSQL source, but on a working binary distribution, with
libpq.dll and headers included. If you have problems with CPAN direct access
using Perl, there's always the ftp/http download alternative -- don't forget
the DBI module also.
SLao
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Robby Slaughter | 2001-06-11 23:36:09 | Getting started on W2K installation of postgreSQL |
Previous Message | S. L. | 2001-06-11 07:32:31 | Re: RE: tourble migrating from linux/Apache/postgresql/perl to win2000/IIS/postgresql/perl |