Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Praise should be given to the Forum managers or the Tipmasters - they are what make it work - give them extra recognition!!! They are timely (prompt - unlike ACTUAL support sites) and on the ball!!!..."

Geography

Where in the world do Tek-Tips members come from?

program to move data from MS Access to Postgresql

dakota81 (TechnicalUser)
20 Jan 08 5:44
I used to use pgadmin2 with their very helpful data migration wizard.  Well, server's been upgraded and pgadmin2 no longer works with the newest version of postgresql.  Pgadmin3 still does not have the equivalent function.

I've searched all around trying many different software, the only one that seems to work well is Navicat, but it's $130.

Are there any free or cheap easy to use software to copy an Access table into postgresql?

Thanks.
gwinn7 (Programmer)
28 Jan 08 10:03
We routinely use Navicat here.  Its well worth the money spent.  

I don't know if any worth-while free tools for this.  

One of the few "gotcha" frustrations is if you need to export a series of tables back to Access, there are two problems...

1. It only does ONE table per database (no multiples,no appends).
2. It only exports to ONE version of Access.  If you have an older version, your are screwed.

Gary
gwinn7

gwinn7 (Programmer)
28 Jan 08 10:05
RE: #2 Navicat Acces Export

Of course, you can use ODBC as an export option to Access instead.

Gary
gwinn7
jgrogan (MIS)
31 Mar 08 10:22
Dakota81

Have a look at Talend Open Studio - it is a free, nice to use ETL tool (based on the Eclipse Platform) that runs on Windows and Linux (with GTK). You will need a Java Development Kit installed.

Jobs can be built to copy from Access to Postgres (and back again) with data transformations (if you need them).  Many other DBs are also supported.

Created jobs can be run manually, under 'at' or 'cron', or as web services.

BRgds
JG
dakota81 (TechnicalUser)
31 Mar 08 11:51
Thanks.  I had found Navicat, used the trial version as long as I could.  Then I ended up paying for the full version, it works very well, and it suits me a lot better than the pgadmin plugin did.
gwinn7 (Programmer)
31 Mar 08 16:33
Good news!   Yeah, sometimes we have to just fork over some money to get what we need.   :)  

Gary
gwinn7
stefanwagner (Programmer)
3 Apr 08 21:23
You should be able to copy a msaccess-db to postgresql by binding your postgresql database to access - shouldn't you?

don't visit my homepage: http://home.arcor.de/hirnstrom/bewerbung

gwinn7 (Programmer)
4 Apr 08 9:27
If you mean linking Access on the front-end to the Postgres backend tables, then yeah that could work.  

However, I have had problems when performing inserts exceeding 20,000 records at a time.  For small scale stuff, that solution works good.  Of course, you have to go through the trouble to build your own INSERT statements, which can be a pain with a lot of tables.

But, if you can't segment your data uploads to less than approx 20,000 records, you may have the same problem as I had.  May be there is a newer version the ODBC driver that fixes this?

Navicat is, by far, way easier to do the import though.

Gary
gwinn7

 
stefanwagner (Programmer)
4 Apr 08 23:27
Well, I don't have access at all - I just remember, when I had to deal with it in 2001.

Sql in sql like this:

CODE

SELECT "INSERT INTO foo (a, b) VALUES (", a, ", ", b FROM foo;
should work for more than 20 000 rows pretty well too, and isn't of much fun too.

Importing from postgresqls psql interface with copy

CODE

\h copy
is another option.

don't visit my homepage: http://home.arcor.de/hirnstrom/bewerbung

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!

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