pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedODBC connect in ERWin
8+ messages / 5 participants
[nested] [flat]
* ODBC connect in ERWin
@ 2001-01-12 22:58 Niral Trivedi <niral.trivedi@insage.com>
2001-01-12 23:10 ` Re: ODBC connect in ERWin Warren Vanichuk <pyber@street-light.com>
2001-01-12 23:29 ` Re: ODBC connect in ERWin Ed Loehr <eloehr@austin.rr.com>
0 siblings, 2 replies; 8+ messages in thread
From: Niral Trivedi @ 2001-01-12 22:58 UTC (permalink / raw)
To: pgsql-general@postgresql.org; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ODBC connect in ERWin
2001-01-12 22:58 ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
@ 2001-01-12 23:10 ` Warren Vanichuk <pyber@street-light.com>
2001-01-13 00:13 ` Re: [GENERAL] Re: ODBC connect in ERWin Ed Loehr <eloehr@austin.rr.com>
1 sibling, 1 reply; 8+ messages in thread
From: Warren Vanichuk @ 2001-01-12 23:10 UTC (permalink / raw)
To: Niral Trivedi <niral.trivedi@insage.com>; +Cc: pgsql-general@postgresql.org; pgsql-admin
> 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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: [GENERAL] Re: ODBC connect in ERWin
2001-01-12 22:58 ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
2001-01-12 23:10 ` Re: ODBC connect in ERWin Warren Vanichuk <pyber@street-light.com>
@ 2001-01-13 00:13 ` Ed Loehr <eloehr@austin.rr.com>
2001-01-14 14:39 ` Re: Re: [ADMIN] ODBC connect in ERWin rob <rob@cabrion.com>
0 siblings, 1 reply; 8+ messages in thread
From: Ed Loehr @ 2001-01-13 00:13 UTC (permalink / raw)
To: ; +Cc: Niral Trivedi <niral.trivedi@insage.com>; pgsql-general@postgresql.org; pgsql-admin
> > 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'
Oh, and I do recognize those error messages as the same that occur when
you are configured for SSH port forwarding but forgot to connect the SSH
session first.
Regards,
Ed Loehr
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Re: [ADMIN] ODBC connect in ERWin
2001-01-12 22:58 ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
2001-01-12 23:10 ` Re: ODBC connect in ERWin Warren Vanichuk <pyber@street-light.com>
2001-01-13 00:13 ` Re: [GENERAL] Re: ODBC connect in ERWin Ed Loehr <eloehr@austin.rr.com>
@ 2001-01-14 14:39 ` rob <rob@cabrion.com>
0 siblings, 0 replies; 8+ messages in thread
From: rob @ 2001-01-14 14:39 UTC (permalink / raw)
To: Ed Loehr <eloehr@austin.rr.com>; +Cc: Niral Trivedi <niral.trivedi@insage.com>; pgsql-general@postgresql.org
I'm going to ask the obvious, but . . .
Can you ping the Unix box from the ER workstation?
Did you start the postmaster with -i to allow remote connections?
Does the same ODBC DSN work from another program? (i.e. linking a Pg table
to an Access DB)
--rob
----- Original Message -----
From: "Ed Loehr" <eloehr@austin.rr.com>
Cc: "Niral Trivedi" <niral.trivedi@insage.com>;
<pgsql-general@postgresql.org>; <pgsql-admin@postgresql.org>
Sent: Friday, January 12, 2001 7:13 PM
Subject: Re: 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'
>
> Oh, and I do recognize those error messages as the same that occur when
> you are configured for SSH port forwarding but forgot to connect the SSH
> session first.
>
> Regards,
> Ed Loehr
>
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: ODBC connect in ERWin
2001-01-12 22:58 ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
@ 2001-01-12 23:29 ` Ed Loehr <eloehr@austin.rr.com>
1 sibling, 0 replies; 8+ messages in thread
From: Ed Loehr @ 2001-01-12 23:29 UTC (permalink / raw)
To: Niral Trivedi <niral.trivedi@insage.com>; +Cc: pgsql-general@postgresql.org
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* RE: ODBC connect in ERWin
@ 2001-01-15 16:34 Niral Trivedi <niral.trivedi@insage.com>
2001-01-15 16:41 ` Re: [GENERAL] RE: ODBC connect in ERWin Nelio Alves Pereira Filho <nelio@ifx.com.br>
0 siblings, 1 reply; 8+ messages in thread
From: Niral Trivedi @ 2001-01-15 16:34 UTC (permalink / raw)
To: 'Warren Vanichuk' <pyber@street-light.com>; 'Sandeep Joshi' <sjoshi@Zambeel.com>; +Cc: pgsql-general@postgresql.org; pgsql-admin
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: [GENERAL] RE: ODBC connect in ERWin
2001-01-15 16:34 RE: ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
@ 2001-01-15 16:41 ` Nelio Alves Pereira Filho <nelio@ifx.com.br>
0 siblings, 0 replies; 8+ messages in thread
From: Nelio Alves Pereira Filho @ 2001-01-15 16:41 UTC (permalink / raw)
To: Niral Trivedi <niral.trivedi@insage.com>; +Cc: 'Warren Vanichuk' <pyber@street-light.com>; 'Sandeep Joshi' <sjoshi@Zambeel.com>; pgsql-general@postgresql.org; pgsql-admin
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
^ permalink raw reply [nested|flat] 8+ messages in thread
* RE: [GENERAL] RE: ODBC connect in ERWin
@ 2001-01-15 16:54 Niral Trivedi <niral.trivedi@insage.com>
0 siblings, 0 replies; 8+ messages in thread
From: Niral Trivedi @ 2001-01-15 16:54 UTC (permalink / raw)
To: 'Nelio Alves Pereira Filho' <nelio@ifx.com.br>; +Cc: pgsql-general@postgresql.org; pgsql-admin
Thank you for such a quick response..
That worked for me..
Niral
-----Original Message-----
From: Nelio Alves Pereira Filho [mailto:nelio@ifx.com.br]
Sent: Monday, January 15, 2001 11:41 AM
To: Niral Trivedi
Cc: 'Warren Vanichuk'; 'Sandeep Joshi'; pgsql-general@postgresql.org;
pgsql-admin@postgresql.org
Subject: Re: [GENERAL] RE: [ADMIN] ODBC connect in ERWin
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
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2001-01-15 16:54 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-12 22:58 ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
2001-01-12 23:10 ` Warren Vanichuk <pyber@street-light.com>
2001-01-13 00:13 ` Ed Loehr <eloehr@austin.rr.com>
2001-01-14 14:39 ` rob <rob@cabrion.com>
2001-01-12 23:29 ` Ed Loehr <eloehr@austin.rr.com>
2001-01-15 16:34 RE: ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
2001-01-15 16:41 ` Nelio Alves Pereira Filho <nelio@ifx.com.br>
2001-01-15 16:54 RE: [GENERAL] RE: ODBC connect in ERWin Niral Trivedi <niral.trivedi@insage.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox