How to hook up Access to Postgres?

Started by Scott Chapmanalmost 23 years ago6 messagesgeneral
Jump to latest
#1Scott Chapman
scott_list@mischko.com

My Access database programmer is interested in hooking it up to Postgresql!

I haven't done anything with ODBC. I assume it's needed to do this?
I'd appreciate some directions as to what is required to make this connection.
He knows nothing about Unix and I know next to nothing about Access so it
should be an interesting "meeting of the minds".

Any help would be greatly appreciated!
Scott

#2scott.marlowe
scott.marlowe@ihs.com
In reply to: Scott Chapman (#1)
Re: How to hook up Access to Postgres?

Go to http://gborg.postgresql.org/project/psqlodbc/projdisplay.php to get
the latest odbc driver for Windows. It's pretty easy, I hook folks up to
postgresql via ODBC all the time.

On Tue, 6 May 2003, Scott Chapman wrote:

My Access database programmer is interested in hooking it up to Postgresql!

I haven't done anything with ODBC. I assume it's needed to do this?
I'd appreciate some directions as to what is required to make this connection.
He knows nothing about Unix and I know next to nothing about Access so it
should be an interesting "meeting of the minds".

If postgresql was built with the --enable-odbc switch, you're done the on
the postgresql end. 'pg_config --configure' will tell you if it was. If
it wasn't, you may need to rebuild postgresql to get it working.

He shouldn't have to do anything else on the Unix side, all the rest of
the configuration is handled in windows / odbc.

#3Doug McNaught
doug@mcnaught.org
In reply to: scott.marlowe (#2)
Re: How to hook up Access to Postgres?

"scott.marlowe" <scott.marlowe@ihs.com> writes:

If postgresql was built with the --enable-odbc switch, you're done the on
the postgresql end. 'pg_config --configure' will tell you if it was. If
it wasn't, you may need to rebuild postgresql to get it working.

What does --enable-odbc do? I didn't set it and I'm running fine with
Windows clients.

He shouldn't have to do anything else on the Unix side, all the rest of
the configuration is handled in windows / odbc.

I'll second that--I have an Access app working pretty well against
Posgres 7.3.2.

-Doug

#4scott.marlowe
scott.marlowe@ihs.com
In reply to: Doug McNaught (#3)
Re: How to hook up Access to Postgres?

On 6 May 2003, Doug McNaught wrote:

"scott.marlowe" <scott.marlowe@ihs.com> writes:

If postgresql was built with the --enable-odbc switch, you're done the on
the postgresql end. 'pg_config --configure' will tell you if it was. If
it wasn't, you may need to rebuild postgresql to get it working.

What does --enable-odbc do? I didn't set it and I'm running fine with
Windows clients.

It tells postgresql to build with the odbc interface. RPM and
dpkg installs are usually built with it, so if you're running from
packages it's probably already been done for you.

He shouldn't have to do anything else on the Unix side, all the rest of
the configuration is handled in windows / odbc.

I'll second that--I have an Access app working pretty well against
Posgres 7.3.2.

Yeah, I have a couple of Windows / FoxPro / Access / MSSQL folks using my
postgresql test server for testing and it's pretty straight forward.
Install postgresql's windows odbc driver, create a connector, connect.

#5Jeff Eckermann
jeff_eckermann@yahoo.com
In reply to: scott.marlowe (#4)
Re: How to hook up Access to Postgres?
--- "scott.marlowe" <scott.marlowe@ihs.com> wrote:

On 6 May 2003, Doug McNaught wrote:

What does --enable-odbc do? I didn't set it and

I'm running fine with

Windows clients.

It tells postgresql to build with the odbc
interface.

AFAIK (based on past posts to the odbc list), this is
not needed for odbc access from windows clients.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

#6scott.marlowe
scott.marlowe@ihs.com
In reply to: Jeff Eckermann (#5)
Re: How to hook up Access to Postgres?

On Wed, 7 May 2003, Jeff Eckermann wrote:

--- "scott.marlowe" <scott.marlowe@ihs.com> wrote:

On 6 May 2003, Doug McNaught wrote:

What does --enable-odbc do? I didn't set it and

I'm running fine with

Windows clients.

It tells postgresql to build with the odbc
interface.

AFAIK (based on past posts to the odbc list), this is
not needed for odbc access from windows clients.

I was just looking at the output of 7.3.x and it looks like the
switch is gone and odbc connectivity is automatic now. sweet.