Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0HFnL028273 for ; Wed, 17 Jan 2001 10:49:21 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from tutopia.tutopia.com.br (mail.ifx.com.br [200.213.155.66]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0FGeD085712; Mon, 15 Jan 2001 11:40:13 -0500 (EST) (envelope-from nelio@ifx.com.br) Received: from ifx.com.br (unverified [200.213.155.110]) by tutopia.tutopia.com.br (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Mon, 15 Jan 2001 14:43:20 -0200 Message-ID: <3A63282F.E5DA30AF@ifx.com.br> Date: Mon, 15 Jan 2001 14:41:19 -0200 From: Nelio Alves Pereira Filho X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.17-6 i686) X-Accept-Language: en MIME-Version: 1.0 To: Niral Trivedi CC: "'Warren Vanichuk'" , "'Sandeep Joshi'" , pgsql-general@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [GENERAL] RE: ODBC connect in ERWin References: <328DC4EC2C9B74428D8DAED1931285BF3172CB@FLAN-EXCH01.corp.insage.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/98 X-Sequence-Number: 473 You have set in your pgsql ODBC driver to open databases in readonly mode. You should change it to do the 'forward engineer'. Nelio Niral Trivedi wrote: > > All, > > Thank you all for your response to my previous post. And You were right. I > had now our postgreSQL started with -i option and I am able to connect to it > from my local NT machine. > > But now I am getting another problem.. When I go for 'Forward Engineer' the > current physical model, I am getting following error: > > Connection is readonly, only select statements are allowed.; > Unrecognized key passed to SQLGetInfo. > Execution Failed! > > I have tried to connect using the postgres superuser as well. But no luck. I > have also tried to change my 'pg_hba.conf' file to allow connection as > 'trust' so anybody can connect from the specified IP address. But still > getting the same error. > > Anybody has any idea?? > > Thanks again for your continuing support. > > Niral > > -----Original Message----- > From: Warren Vanichuk [mailto:pyber@street-light.com] > Sent: Friday, January 12, 2001 6:11 PM > To: Niral Trivedi > Cc: pgsql-general@postgresql.org; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] ODBC connect in 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: > > Have you added the -i option to the postmaster startup to tell it to use > TCP/IP sockets, rather than just the local sockets it sets up by default? > > See: http://www.postgresql.org/docs/faq-english.html#3.7 > > Sincerely, Warren -- Nelio Alves Pereira Filho IFX Networks - www.ifx.com.br +55 11 3365-5863 nelio@ifx.com.br