Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B3996632C33 for ; Tue, 15 Dec 2009 13:17:53 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 19394-07 for ; Tue, 15 Dec 2009 17:17:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relay2.mecon.ar (relay2.mecon.gov.ar [168.101.16.11]) by mail.postgresql.org (Postfix) with ESMTP id C2794632BD6 for ; Tue, 15 Dec 2009 13:17:45 -0400 (AST) Received: from relay2.mecon.ar (localhost [127.0.0.1]) by relay2.mecon.ar (8.13.1/8.13.1) with ESMTP id nBFHHhmh005394 for ; Tue, 15 Dec 2009 14:17:43 -0300 Received: from racing2.mecon.ar (racing2.mecon.ar [10.8.2.11]) by relay2.mecon.ar (8.13.1/8.13.1) with ESMTP id nBFHHhL3005391; Tue, 15 Dec 2009 14:17:43 -0300 Received: from racing2.mecon.ar (localhost.localdomain [127.0.0.1]) by racing2.mecon.ar (8.13.1/8.13.7) with ESMTP id nBFHHh0b016399; Tue, 15 Dec 2009 14:17:43 -0300 Received: from [192.13.100.70] ([192.13.100.70]) by racing2.mecon.ar (8.13.1/8.13.7) with ESMTP id nBFHHg3e016396; Tue, 15 Dec 2009 14:17:42 -0300 Message-ID: <4B27C479.2030407@mecon.gov.ar> Date: Tue, 15 Dec 2009 14:16:41 -0300 From: "Daniela Mamede d'Almeida" User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Adrian Klaver CC: pgsql-odbc@postgresql.org Subject: Re: Hi! References: <4B15768C.50500@mecon.gov.ar> <4B19C54C.2020802@postnewspapers.com.au> <4B27A992.1030903@mecon.gov.ar> <200912150856.28133.aklaver@comcast.net> In-Reply-To: <200912150856.28133.aklaver@comcast.net> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3116-6.0.0.1038-17072.000 X-TM-AS-Result: No--20.953-5.0-31-1 X-imss-scan-details: No--20.953-5.0-31-1 X-TM-AS-User-Approved-Sender: Yes X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.141 tagged_above=-10 required=5 tests=BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457 X-Spam-Level: X-Archive-Number: 200912/22 X-Sequence-Number: 10149 Oracle support told me to install PostgreSQL driver in my Oracle server. What I don't understand is what's the use of running pg_config in a server where there's no Postgre installed.
Maybe there's another postgresql driver that wouldn't expect pg_config to be there. I there any?

Thanks!!

Adrian Klaver escribió:
On Tuesday 15 December 2009 7:21:54 am Daniela Mamede d'Almeida wrote:
  
Hi List!
After looking for a suitable pkg for a long time, I've found
postgresql-devel-8.4.1-1PGDG.rhel4.x86_64.rpm which sounded like what I
needed! But when I tried to install it, it asked for some dependencies,
and those dependencies asked for other dependencies... and I almost got
all Postgres pkg installed by the end, and that's not what I want.
Isn't there a better way to get pg_config?

Thanks a lot for your help!
Daniela.


    

The thing to keep in mind is that pg_config is just a helper program. To quote 
the docs:

http://www.postgresql.org/docs/8.4/interactive/app-pgconfig.html

"The pg_config utility prints configuration parameters of the currently 
installed version of PostgreSQL. It is intended, for example, to be used by 
software packages that want to interface to PostgreSQL to facilitate finding 
the required header files and libraries. "

In order for pg_config to work the other files/libraries need to be installed.