pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Testing System DSN's
3+ messages / 3 participants
[nested] [flat]

* Testing System DSN's
@ 2004-06-23 18:49 Jeff Stout <jstout@cctus.com>
  2004-06-24 07:15 ` Re: Testing System DSN's Richard Huxton <dev@archonet.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Jeff Stout @ 2004-06-23 18:49 UTC (permalink / raw)
  To: pgsql-odbc

I have setup the postgresql-odbc driver everything looks good

Is there a way to "test" the odbc connection.  I have set
up system dsn's in the past using MySQL-odbc and there was a
"test data resource" button to ensure all the data I entered
was correct.  Is there a way to do this in postgres?

One more question, I noticed that the port # 5432 was used
this is the same port that pgadmin uses. Do I have to 
allow a certain post on the DB to change this to something 
else?

Thank you in advance for your help.

Jeff
CCT




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Testing System DSN's
  2004-06-23 18:49 Testing System DSN's Jeff Stout <jstout@cctus.com>
@ 2004-06-24 07:15 ` Richard Huxton <dev@archonet.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Richard Huxton @ 2004-06-24 07:15 UTC (permalink / raw)
  To: Jeff Stout <jstout@cctus.com>; +Cc: pgsql-odbc

Jeff Stout wrote:
> I have setup the postgresql-odbc driver everything looks good
> 
> Is there a way to "test" the odbc connection.  I have set
> up system dsn's in the past using MySQL-odbc and there was a
> "test data resource" button to ensure all the data I entered
> was correct.  Is there a way to do this in postgres?

Hmm - other than connecting, I can't think of one.

> One more question, I noticed that the port # 5432 was used
> this is the same port that pgadmin uses. Do I have to 
> allow a certain post on the DB to change this to something 
> else?

There is a setting in the postgresql.conf file that lets you change the 
port the server listens on. Of course the tcp-ip option needs to be 
turned on for PG to listen at all.

-- 
   Richard Huxton
   Archonet Ltd



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Testing System DSN's
@ 2004-06-24 07:30 Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Page @ 2004-06-24 07:30 UTC (permalink / raw)
  To: Jeff Stout <jstout@cctus.com>; pgsql-odbc

 

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org 
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Jeff Stout
> Sent: 23 June 2004 19:49
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Testing System DSN's
> 
> I have setup the postgresql-odbc driver everything looks good
> 
> Is there a way to "test" the odbc connection.  I have set up 
> system dsn's in the past using MySQL-odbc and there was a 
> "test data resource" button to ensure all the data I entered 
> was correct.  Is there a way to do this in postgres?

pgAdmin II (which is old now) has an ODBC test plugin. The ODBC driver
itself cannot do it though.

> One more question, I noticed that the port # 5432 was used 
> this is the same port that pgadmin uses. Do I have to allow a 
> certain post on the DB to change this to something else?

Why? everything connects *to* PostgreSQL on 5432 by default (which will
work just fine), and pgAdmin and psqlODBC will pick a unused port to use
at their end.

Regards, Dave



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-06-24 07:30 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-06-23 18:49 Testing System DSN's Jeff Stout <jstout@cctus.com>
2004-06-24 07:15 ` Richard Huxton <dev@archonet.com>
2004-06-24 07:30 Re: Testing System DSN's Dave Page <dpage@vale-housing.co.uk>

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