pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedODBC
5+ messages / 4 participants
[nested] [flat]
* ODBC
@ 2009-01-21 23:31 Marc Fromm <Marc.Fromm@wwu.edu>
0 siblings, 1 reply; 5+ messages in thread
From: Marc Fromm @ 2009-01-21 23:31 UTC (permalink / raw)
To: pgsql-admin
Some of our users use an ODBC connection between MS Access and an Oracle database to work with the data.
Access however has a 255 field/column limit, which the Oracle Db has now execeded.
Is there a way to make an ODBC connection between a postgresql db and the oracle DB and pull all the data from the Oracle DB to the Postgresql DB?
Marc
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: ODBC
@ 2009-01-22 00:26 Richard Broersma <richard.broersma@gmail.com>
parent: Marc Fromm <Marc.Fromm@wwu.edu>
0 siblings, 0 replies; 5+ messages in thread
From: Richard Broersma @ 2009-01-22 00:26 UTC (permalink / raw)
To: Marc Fromm <Marc.Fromm@wwu.edu>; +Cc: pgsql-admin
On Wed, Jan 21, 2009 at 3:31 PM, Marc Fromm <Marc.Fromm@wwu.edu> wrote:
> Some of our users use an ODBC connection between MS Access and an Oracle
> database to work with the data.
> Access however has a 255 field/column limit, which the Oracle Db has now
> execeded.
I am not sure what kind of data model would require 255 columns, but
if there is not in fact de-normalization occurring here and you really
do need > 255 columns in your tables there is a way to make this work
in access.
You can create multiple bound table(sort of like a vertically
partitioned view). In each bound table in access only include the
primary key and a subset of the columns. Of Course this will probably
complicate your application design.
I don't believe that you can bind oracle table to postgresql. There
is a module dbi-link that is similar to what you want to do. This
page might give you some ideas about what is available:
http://pgfoundry.org/search/?type_of_search=soft&words=dbi+link
--
Regards,
Richard Broersma Jr.
Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug
^ permalink raw reply [nested|flat] 5+ messages in thread
* odbc
@ 2011-03-29 17:51 Marc Fromm <Marc.Fromm@wwu.edu>
0 siblings, 2 replies; 5+ messages in thread
From: Marc Fromm @ 2011-03-29 17:51 UTC (permalink / raw)
To: pgsql-admin
I am running postgres on a red hat linux server.
postgresql-python-8.1.23-1.el5_6.1
postgresql-test-8.1.23-1.el5_6.1
postgresql-libs-8.1.23-1.el5_6.1
postgresql-docs-8.1.23-1.el5_6.1
postgresql-contrib-8.1.23-1.el5_6.1
postgresql-8.1.23-1.el5_6.1
postgresql-pl-8.1.23-1.el5_6.1
postgresql-odbc-08.01.0200-3.1
postgresql-jdbc-8.1.407-1jpp.4
postgresql-server-8.1.23-1.el5_6.1
postgresql-tcl-8.1.23-1.el5_6.1
User on windows computers would like to odbc to the postgres databases.
I downloaded the windows postgres odbc drivers from the following site and installed version "psqlodbc-08_01_0200" on the windows computer.
http://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/msi/
When I configure a "File Data Source" connection in access, I cannot connect to the postgresql database. I get the message, "A connection could not be made using the file data source parameters entered. Save non-verified file DSN?"
The parameters entered are:
Database: database_name
Server: I entered the IP address of the server
User Name: I entered postgres
Password:
SSL Mode: prefer
Port: 5432 (which is the port used by postgres)
Do I need to configure the /etc/odbc.ini file? It is currently just a blank file.
Thanks for any help.
Marc
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: odbc
@ 2011-03-30 13:40 Igor Neyman <ineyman@perceptron.com>
parent: Marc Fromm <Marc.Fromm@wwu.edu>
1 sibling, 0 replies; 5+ messages in thread
From: Igor Neyman @ 2011-03-30 13:40 UTC (permalink / raw)
To: Marc Fromm <Marc.Fromm@wwu.edu>; pgsql-admin
________________________________
From: Marc Fromm [mailto:Marc.Fromm@wwu.edu]
Sent: Tuesday, March 29, 2011 1:52 PM
To: pgsql-admin@postgresql.org
Subject: odbc
I am running postgres on a red hat linux server.
postgresql-python-8.1.23-1.el5_6.1
postgresql-test-8.1.23-1.el5_6.1
postgresql-libs-8.1.23-1.el5_6.1
postgresql-docs-8.1.23-1.el5_6.1
postgresql-contrib-8.1.23-1.el5_6.1
postgresql-8.1.23-1.el5_6.1
postgresql-pl-8.1.23-1.el5_6.1
postgresql-odbc-08.01.0200-3.1
postgresql-jdbc-8.1.407-1jpp.4
postgresql-server-8.1.23-1.el5_6.1
postgresql-tcl-8.1.23-1.el5_6.1
User on windows computers would like to odbc to the postgres
databases.
I downloaded the windows postgres odbc drivers from the
following site and installed version "psqlodbc-08_01_0200" on the
windows computer.
http://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/msi/
When I configure a "File Data Source" connection in access, I
cannot connect to the postgresql database. I get the message, "A
connection could not be made using the file data source parameters
entered. Save non-verified file DSN?"
The parameters entered are:
Database: database_name
Server: I entered the IP address of the server
User Name: I entered postgres
Password:
SSL Mode: prefer
Port: 5432 (which is the port used by postgres)
Do I need to configure the /etc/odbc.ini file? It is currently
just a blank file.
Thanks for any help.
Marc
[I.N.]
You need to create "System Data Source" (or User) - not "File
Data Source".
Regards,
Igor Neyman
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: odbc
@ 2011-03-30 16:18 David Bear <David.Bear@asu.edu>
parent: Marc Fromm <Marc.Fromm@wwu.edu>
1 sibling, 0 replies; 5+ messages in thread
From: David Bear @ 2011-03-30 16:18 UTC (permalink / raw)
To: Marc Fromm <Marc.Fromm@wwu.edu>; +Cc: pgsql-admin
On Tue, Mar 29, 2011 at 10:51 AM, Marc Fromm <Marc.Fromm@wwu.edu> wrote:
> I am running postgres on a red hat linux server.
>
> postgresql-python-8.1.23-1.el5_6.1
>
> postgresql-test-8.1.23-1.el5_6.1
>
> postgresql-libs-8.1.23-1.el5_6.1
>
> postgresql-docs-8.1.23-1.el5_6.1
>
> postgresql-contrib-8.1.23-1.el5_6.1
>
> postgresql-8.1.23-1.el5_6.1
>
> postgresql-pl-8.1.23-1.el5_6.1
>
> *postgresql-odbc-08.01.0200-3.1*
>
> postgresql-jdbc-8.1.407-1jpp.4
>
> postgresql-server-8.1.23-1.el5_6.1
>
> postgresql-tcl-8.1.23-1.el5_6.1
>
>
>
> User on windows computers would like to odbc to the postgres databases.
>
> I downloaded the windows postgres odbc drivers from the following site and
> installed version “psqlodbc-08_01_0200” on the windows computer.
>
> http://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/msi/
>
>
>
> When I configure a “File Data Source” connection in access, I cannot
> connect to the postgresql database. I get the message, “A connection could
> not be made using the file data source parameters entered. Save non-verified
> file DSN?”
>
> The parameters entered are:
>
> Database: database_name
>
> Server: I entered the IP address of the server
>
> User Name: I entered postgres
>
> Password:
>
> SSL Mode: prefer
>
> Port: 5432 (which is the port used by postgres)
>
>
>
> Do I need to configure the /etc/odbc.ini file? It is currently just a blank
> file.
>
>
>
> Thanks for any help.
>
>
You also need to make sure postgresql is listening on a public IP address
AND you don't have any intervening filewall -- hostbased or otherwise. Be
default, redhad does not allow connections to port 5432 via its standard
rule set. I would install something like pgadmin on the windows client and
see if that will allow you to connect first. If pgadmin connects, then its
likely and odbc config issue.
>
>
> Marc
>
--
David Bear
College of Public Programs at ASU
602-496-0424
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2011-03-30 16:18 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 23:31 ODBC Marc Fromm <Marc.Fromm@wwu.edu>
2009-01-22 00:26 ` Richard Broersma <richard.broersma@gmail.com>
2011-03-29 17:51 odbc Marc Fromm <Marc.Fromm@wwu.edu>
2011-03-30 13:40 ` Re: odbc Igor Neyman <ineyman@perceptron.com>
2011-03-30 16:18 ` Re: odbc David Bear <David.Bear@asu.edu>
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