pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedPerl modules
7+ messages / 4 participants
[nested] [flat]
* Perl modules
@ 1998-06-18 05:02 Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
0 siblings, 1 reply; 7+ messages in thread
From: Konstantin S. Kuznetsov @ 1998-06-18 05:02 UTC (permalink / raw)
To: pgsql-interfaces
Hello!
I've got postgresql-6.3.2 with RedHat-5.1 distribution.
I need to write scripts using perl. Where can I find apropriate perl
modules, And what should I do to create perl interface to Postgresql..?
Thank you..
Konstantin S. Kuznetsov
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [INTERFACES] Perl modules
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
@ 1998-06-18 11:01 ` Dr David Scott <ds@ganymede.com>
1998-06-18 12:06 ` Re: [INTERFACES] Perl modules The Hermit Hacker <scrappy@hub.org>
1998-06-18 12:22 ` Re: [INTERFACES] Perl modules Tom Good <tomg@nrnet.org>
0 siblings, 2 replies; 7+ messages in thread
From: Dr David Scott @ 1998-06-18 11:01 UTC (permalink / raw)
To: Konstantin S. Kuznetsov <ksk@ch70.chel.su>; +Cc: pgsql-interfaces
On Thu, 18 Jun 1998, Konstantin S. Kuznetsov wrote:
> I've got postgresql-6.3.2 with RedHat-5.1 distribution.
> I need to write scripts using perl. Where can I find apropriate perl
> modules, And what should I do to create perl interface to Postgresql..?
All perl modules can be found in the CPAN archive at www.perl.org . In
particular, you want to download the DBI and DBD:Pg modules.
David Scott
Montreal
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [INTERFACES] Perl modules
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
@ 1998-06-18 12:06 ` The Hermit Hacker <scrappy@hub.org>
1998-06-18 14:06 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
1 sibling, 1 reply; 7+ messages in thread
From: The Hermit Hacker @ 1998-06-18 12:06 UTC (permalink / raw)
To: Dr David Scott <ds@ganymede.com>; +Cc: Konstantin S. Kuznetsov <ksk@ch70.chel.su>; pgsql-interfaces
On Thu, 18 Jun 1998, Dr David Scott wrote:
>
> On Thu, 18 Jun 1998, Konstantin S. Kuznetsov wrote:
>
> > I've got postgresql-6.3.2 with RedHat-5.1 distribution.
> > I need to write scripts using perl. Where can I find apropriate perl
> > modules, And what should I do to create perl interface to Postgresql..?
>
> All perl modules can be found in the CPAN archive at www.perl.org . In
> particular, you want to download the DBI and DBD:Pg modules.
There is also a Perl module included with the distribution in the
src/interfaces/perl directory...I've never used anything else myself...
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [INTERFACES] Perl modules
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
1998-06-18 12:06 ` Re: [INTERFACES] Perl modules The Hermit Hacker <scrappy@hub.org>
@ 1998-06-18 14:06 ` Dr David Scott <ds@ganymede.com>
1998-06-18 15:36 ` Re: [INTERFACES] Perl modules Tom Good <tomg@nrnet.org>
0 siblings, 1 reply; 7+ messages in thread
From: Dr David Scott @ 1998-06-18 14:06 UTC (permalink / raw)
To: The Hermit Hacker <scrappy@hub.org>; +Cc: Konstantin S. Kuznetsov <ksk@ch70.chel.su>; pgsql-interfaces
On Thu, 18 Jun 1998, The Hermit Hacker wrote:
> There is also a Perl module included with the distribution in the
> src/interfaces/perl directory...I've never used anything else myself...
This is the DBD::Pg module. You also need the DBI.pm module to make it
work. Also, CPAN should have the latest version of DBD::Pg.
Incidentally, if you use perl at all CPAN is absolutely indispensable.
The CPAN.pm module that is bundled with the most recent versions of perl
is really wonderful for managing it all. Type
perl -MCPAN -e shell
and see what happens.
ds
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [INTERFACES] Perl modules
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
1998-06-18 12:06 ` Re: [INTERFACES] Perl modules The Hermit Hacker <scrappy@hub.org>
1998-06-18 14:06 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
@ 1998-06-18 15:36 ` Tom Good <tomg@nrnet.org>
1998-06-18 16:00 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
0 siblings, 1 reply; 7+ messages in thread
From: Tom Good @ 1998-06-18 15:36 UTC (permalink / raw)
To: Dr David Scott <ds@ganymede.com>; +Cc: The Hermit Hacker <scrappy@hub.org>; Konstantin S. Kuznetsov <ksk@ch70.chel.su>; pgsql-interfaces
On Thu, 18 Jun 1998, Dr David Scott wrote:
>
>
> On Thu, 18 Jun 1998, The Hermit Hacker wrote:
>
> > There is also a Perl module included with the distribution in the
> > src/interfaces/perl directory...I've never used anything else myself...
>
> This is the DBD::Pg module. You also need the DBI.pm module to make it
> work. Also, CPAN should have the latest version of DBD::Pg.
David - are you sure about the interface that comes bundled being
DBD::Pg? It is *very* different from DBD-Pg-0.69 which I am currently
using...(?)
Also - the dbi mailing list is helpful (I believe I got to it via
www.fugue.com)
> Incidentally, if you use perl at all CPAN is absolutely indispensable.
> The CPAN.pm module that is bundled with the most recent versions of perl
> is really wonderful for managing it all. Type
>
> perl -MCPAN -e shell
The one resource I wish we had is good documentation on Tim Bunce's
DBI. There is nothing of note in Learning Perl or the camel book.
Advanced Perl Programming has a blurb on dbi but it is very scant.
I haven't checked out Tim O'Reilly's Perl Resource Kit as I don't have
the $150 US. Is there anything of interest contained in it?
BTW, how is Montreal doing, in the wake of all the ice and hail the past
year visited on the NE?
Cheers,
Tom
===================================================================
User Guide Dog Database Project
===================================================================
Powered by PostgreSQL 6.3.2
* Advanced Database Design - Proven Performance *
----
Perl 5.004 / DBI-0.91::DBD-PG-0.69
===================================================================
http://www.panix.com/~ugd
===================================================================
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [INTERFACES] Perl modules
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
1998-06-18 12:06 ` Re: [INTERFACES] Perl modules The Hermit Hacker <scrappy@hub.org>
1998-06-18 14:06 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
1998-06-18 15:36 ` Re: [INTERFACES] Perl modules Tom Good <tomg@nrnet.org>
@ 1998-06-18 16:00 ` Dr David Scott <ds@ganymede.com>
0 siblings, 0 replies; 7+ messages in thread
From: Dr David Scott @ 1998-06-18 16:00 UTC (permalink / raw)
To: Tom Good <tomg@nrnet.org>; +Cc: The Hermit Hacker <scrappy@hub.org>; Konstantin S. Kuznetsov <ksk@ch70.chel.su>; pgsql-interfaces
On Thu, 18 Jun 1998, Tom Good wrote:
> David - are you sure about the interface that comes bundled being
> DBD::Pg? It is *very* different from DBD-Pg-0.69 which I am currently
> using...(?)
The API has tended to shiftB around a bit.
> The one resource I wish we had is good documentation on Tim Bunce's
> DBI. There is nothing of note in Learning Perl or the camel book.
> Advanced Perl Programming has a blurb on dbi but it is very scant.
> I haven't checked out Tim O'Reilly's Perl Resource Kit as I don't have
> the $150 US. Is there anything of interest contained in it?
Download and install DBI.pm from CPAN and then do perldoc DBI. This is
the same documentation that's included in the O'Reilly Perl Resource Kit
(in fact, it's more up to date).
I own the PRK and do use the books for some things, although I always
consult the online docs for any modules I use a lot.
Also, Srinivasan's 'Advanced Perl Programming' has some stuff on DBI,
although it's a bit sketchy on that topic. Great book in general, though.
ds
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [INTERFACES] Perl modules
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Re: [INTERFACES] Perl modules Dr David Scott <ds@ganymede.com>
@ 1998-06-18 12:22 ` Tom Good <tomg@nrnet.org>
1 sibling, 0 replies; 7+ messages in thread
From: Tom Good @ 1998-06-18 12:22 UTC (permalink / raw)
To: Dr David Scott <ds@ganymede.com>; +Cc: Konstantin S. Kuznetsov <ksk@ch70.chel.su>; pgsql-interfaces
On Thu, 18 Jun 1998, Dr David Scott wrote:
> On Thu, 18 Jun 1998, Konstantin S. Kuznetsov wrote:
>
> > I've got postgresql-6.3.2 with RedHat-5.1 distribution.
> > I need to write scripts using perl. Where can I find apropriate perl
> > modules, And what should I do to create perl interface to Postgresql..?
>
> All perl modules can be found in the CPAN archive at www.perl.org . In
> particular, you want to download the DBI and DBD:Pg modules.
>
> David Scott
> Montreal
Hello gents,
You can run the `default' perl interface that comes bundled with PostgreSQL
or you can do as I did...Edmund recommended to me that I run the DBD-Pg
module as its syntax is less like libpq and more like traditional perl
and/or Embedded SQL/C.
If you dial up www.panix.com/~dbindex.html I have links to sunsite uk
where you can grab Tim Bunce's latest DBI and Edmund's DBD-Pg.
We also have the binaries if you run slackware...
Cheers,
Tom
===================================================================
User Guide Dog Database Project
===================================================================
Powered by PostgreSQL 6.3.2
* Advanced Database Design - Proven Performance *
----
Perl 5.004 / DBI-0.91::DBD-PG-0.69
===================================================================
http://www.panix.com/~ugd
===================================================================
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~1998-06-18 16:00 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-06-18 05:02 Perl modules Konstantin S. Kuznetsov <ksk@ch70.chel.su>
1998-06-18 11:01 ` Dr David Scott <ds@ganymede.com>
1998-06-18 12:06 ` The Hermit Hacker <scrappy@hub.org>
1998-06-18 14:06 ` Dr David Scott <ds@ganymede.com>
1998-06-18 15:36 ` Tom Good <tomg@nrnet.org>
1998-06-18 16:00 ` Dr David Scott <ds@ganymede.com>
1998-06-18 12:22 ` Tom Good <tomg@nrnet.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox