[teiid-issues] [JBoss JIRA] (TEIID-5334) Improve pg/ODBC mapping of char type

Steven Hawkins (JIRA) issues at jboss.org
Tue May 1 14:04:00 EDT 2018


     [ https://issues.jboss.org/browse/TEIID-5334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-5334.
-----------------------------------
    Resolution: Done


Updated to use bpchar consistently with it's correct format name.  Didn't yet map the pg_catalog schema usage of char to the pg "char" type, but that could be done as well.  We can't use the pg "char" type in general because it only holds a single byte.

> Improve pg/ODBC mapping of char type
> ------------------------------------
>
>                 Key: TEIID-5334
>                 URL: https://issues.jboss.org/browse/TEIID-5334
>             Project: Teiid
>          Issue Type: Bug
>          Components: ODBC
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 10.3, 10.2.2
>
>
> The char type pg_type has oid 1042 (bpchar) rather than the expected 18.  There should be a separate mapping for both bpchar and char.
> Also the format type for bpchar should be character, not bpchar.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list