pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John VanDyk <jvandyk@iastate.edu>
To: pgsql-admin@postgresql.org
Subject: ODBC and PostgreSQL 7.02
Date: Mon, 12 Jun 2000 13:50:55 -0500
Message-ID: <v04220814b56adfcfb8b1@[129.186.120.53]> (raw)

My goal is to set up Postgres 7 on Red Hat 6.2 and access it via ODBC from an NT machine.

I've set up PostgreSQL 7.02 (via the RPM) and it seems to be working. I can create the test database and manipulate it using the pgsql test command.

I have a pg_hba.conf file in /var/lib/pgsql with a line that looks like this

host         all         1.2.3.4 255.255.255.0      trust

where 1.2.3.4 is the IP of my NT machine. I set up the ODBC driver and I can do a query but get the response from the postmaster

No pg_hba.conf entry for host 1.2.3.4, user skippy, database test

I am using the Insight ODBC driver version 6.50. Does this driver not work with PostgreSQL 7.02? Am I missing something from the PostgreSQL setup? Why does it say there is no pg_hba.conf entry when there is?

John VanDyk



Message-ID: <v04220814b56adfcfb8b1@[129.186.120.53]>
Permalink:  ../v04220814b56adfcfb8b1@%5B129.186.120.53%5D/
Also on:    postgresql.org/message-id/v04220814b56adfcfb8b1@[129.186.120.53]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jvandyk@iastate.edu
  Subject: Re: ODBC and PostgreSQL 7.02
  In-Reply-To: <v04220814b56adfcfb8b1@[129.186.120.53]>
  References: <v04220814b56adfcfb8b1@[129.186.120.53]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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