[teiid-issues] [JBoss JIRA] Commented: (TEIID-1460) Have teiid emulate a native postgresql database connection

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Fri Apr 29 14:47:18 EDT 2011


    [ https://issues.jboss.org/browse/TEIID-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599166#comment-12599166 ] 

Ramesh Reddy commented on TEIID-1460:
-------------------------------------

I have tested  successfully with

1) psql - use like psql -U user -W -host localhost -port 35432 <vdb>
2) perl using DBD:ODBC
3) python using psycopg2
4) pyton using PyGreSQL

Sample programs I used are attached. I feel this multi client is looking good, I tried looking for sample programs for the libraries mentioned above, but did not turn up much results. If you can verify again with 7.4, we can close this JIRA.

> Have teiid emulate a native postgresql database connection
> ----------------------------------------------------------
>
>                 Key: TEIID-1460
>                 URL: https://issues.jboss.org/browse/TEIID-1460
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Server
>    Affects Versions: 7.3
>         Environment: All environments
>            Reporter: Graeme Gillies
>            Assignee: Steven Hawkins
>            Priority: Minor
>
> Currently we are using postgresql-odbc, and unixODBC to connect to teiid via the emulated postgresql ODBC connection on port 35432. Unfortunately, this is cumbersome to use, requires fiddling with setting up ODBC, and is difficult for integration into non-java languages (that have to use the ODBC connection).
> What we would like is for teiid to emulate a postgresql database such that we can point typical postgresql tools (such as psql) to port 35432 (or some other port) and they will "work". That would also allow us to use each languages native/preferred method of connecting to a postgresql database to connect to teiid. E.g. DBD::Postgres for perl, ruby-pg for ruby, pg/pgdb in python, etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list