Received: from sm5.texas.rr.com (mail.texas.rr.com [24.93.35.219] (may be forged)) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0CNN2p96525 for ; Fri, 12 Jan 2001 18:23:02 -0500 (EST) (envelope-from eloehr@austin.rr.com) Received: from austin.rr.com (cs2874-40.austin.rr.com [24.28.74.40]) by sm5.texas.rr.com (8.11.0/8.11.1) with ESMTP id f0D0HAe32737; Fri, 12 Jan 2001 18:17:15 -0600 Message-ID: <3A5F936E.7048B52E@austin.rr.com> Date: Fri, 12 Jan 2001 17:29:50 -0600 From: Ed Loehr X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Niral Trivedi CC: pgsql-general@postgresql.org Subject: Re: ODBC connect in ERWin References: <328DC4EC2C9B74428D8DAED1931285BF3172C9@FLAN-EXCH01.corp.insage.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/562 X-Sequence-Number: 2743 Not sure about your pg_hba/ODBC setup, but ERwin takes pg_dump output in as Ingres 1.x script and does pretty well (of course, it doesn't recognize PL/pgSQL, etc), maybe with a few minor tweaks. I didn't have any RI in my dump, so I wrote a perl script to add it so that I'd get the relationships (I had hundreds of tables and a very standardized naming convention), but I think it can infer from indices or names in some manner. Regards, Ed Loehr Niral Trivedi wrote: > > All, > > Yesterday, I have seen some postings regarding connecting to Remote > PostgreSQL DB using ERWin. And I am having similar question here. > > We have PostgreSQL DB on UNIX box. And it is running fine without any > problem. Now, I have ERWin and PostgreSQL ODBC driver from Insight Dist > installed on my local WinNT machine. > > Now, I have created a sample reverse engineered an access DB using ERWin. > But When I am trying to forward engineer that to my Remote PostgreSQL db I > am getting ODBC error saying: > 'Could not connect to the Server' > 'Could not connect to remote socket' > > Now, I have already added 'host' line in 'pg_hba.conf' file to give access > to the db from my machine as follows: > > host niral MY_IP_ADDR MASKING_ADDR password > test_niral_users.dat > > I have also checked out the 'greatbridge.com' site but couldn't find any > solutions. > > So, if anybody has any idea, please help me.. > > Thanks in advance... > > Niral