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

Steven Lawrance (JIRA) jira-events at lists.jboss.org
Fri Mar 18 00:35:45 EDT 2011


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

Steven Lawrance commented on TEIID-1460:
----------------------------------------

Oops, if I actually remember to specify the database name (i.e. with database="dbname" as an additional parameter) it gets ever so slightly further.  I then get "pg.InternalError: server closed the connection unexpectedly.. This probably means the server terminated abnormally before or while processing the request.".

Wireshark shows the connection being made, authentication succeeding followed by a "Parameter status" message but then the connection is just closed.

> 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