Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How do I export POSTGRES data into MS Access?

How do I export POSTGRES data into MS Access?

How do I export POSTGRES data into MS Access?

I need to get the contents of two tables from a postgres database into a CSV text file or something else that I can import into Access.  How do I do an export to text with postgres?

What ODBC options are there?  If I used the postgres ODBC driver on my Windows system, is there a program that will pull all the data for me or should I create my own app?  What files from the postgres database do I need if I do this?

RE: How do I export POSTGRES data into MS Access?

The easiest way to do this is to install psqlODBC on your Windows computer. (read http://odbc.postgresql.org/). This will allow you to make a connection to PostgreSQL and share that connection as a local ODBC source in your Data Sources (ODBC) section of your Control Panel.

Just make sure PostgreSQL was installed with the --enable-odbc option when compiled, and setup your pg_hba.conf file to allow for connections from your Windows machine.

Then, you can use Access to either manipulate the PostgreSQL database remotely, or to import any tables you want locally as regular Access tables.


"Now, this might cause some discomfort..."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close