Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id F2595475BA1; Thu, 24 Oct 2002 14:17:48 -0400 (EDT) Received: from almso2.proxy.att.com (almso2.att.com [192.128.166.71]) by postgresql.org (Postfix) with ESMTP id 58D7D475A1E; Thu, 24 Oct 2002 14:17:48 -0400 (EDT) Received: from attrh0i.attrh.att.com ([135.37.94.54]) by almso2.proxy.att.com (AT&T IPNS/MSO-4.0) with ESMTP id g9OGvm5D004196; Thu, 24 Oct 2002 14:17:44 -0400 (EDT) Received: from ACCLUST02EVS1.ugd.att.com (135.37.16.8) by attrh0i.attrh.att.com (6.5.019) id 3D87F6EE016953DA; Thu, 24 Oct 2002 14:17:41 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Re: [NOVICE] pg or DBI Date: Thu, 24 Oct 2002 14:17:17 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [NOVICE] pg or DBI Thread-Index: AcJ7f+5RheNq2TivQIeLkSs/ARkQ5AACWGUA From: "Williams, Travis L, NPONS" To: "Devinder K Rajput" , , X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/241 X-Sequence-Number: 6099 Unless I am mistaken (which actually happens quite often) DBI is the base modue that perl uses.. the extension of that DBI::Pg (which is called in the script) is postgres specific. That is what I am using and I am new to postgres but have been working with perl for 3-4 years and I have found it very easy to use. Travis -----Original Message----- From: Devinder K Rajput [mailto:Devinder.Rajput@ipaper.com] Sent: Thursday, October 24, 2002 12:05 PM To: pgsql-novice@postgresql.org; pgsql-admin@postgresql.org Subject: [NOVICE] pg or DBI Hi all, I have used pg to connect to postgres. However, I have seen a lot of people use DBI. Are there any advantages/disadvantages in using one or the other for connecting to postgres via perl. Also, which one is more widely used? Thanks for your input. Devinder Rajput Stores Division Corporate Offices Chicago, IL (773) 442-6474 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org