[ 
https://issues.apache.org/jira/browse/HAWQ-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643015#comment-15643015
 ] 

Ming LI commented on HAWQ-1038:
-------------------------------

Some points may need your concern:
1) HAWQ basing on PostgreSQL 8.2.15, most of the types are inherited from it, 
except array. You don't need to compare with PostgreSQL9.5, because we don't 
merge postgresql code changes.
2) All types below you listed in google docs are internal types, below is some 
types I know:
name: type for specific db object name, which is char (63)
int2vector: array of int2, used in system tables
tid: tuple ID
xid: transaction ID
cid: command ID
oidvector: array of oids
bpchar: blank-padded string, fixed storage length
You can see the description in below source code:
https://github.com/apache/incubator-hawq/blob/master/src/include/catalog/pg_type.h
So I don't think we need to change the doc at present without supporting any 
more types for user.

> Missing BPCHAR in Data Type
> ---------------------------
>
>                 Key: HAWQ-1038
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1038
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Goden Yao
>            Assignee: David Yozie
>             Fix For: backlog
>
>
> referring to 3rd party site:
> http://hdb.docs.pivotal.io/20/reference/catalog/pg_type.html 
> and 
> http://hdb.docs.pivotal.io/20/reference/HAWQDataTypes.html
> It's quite out of date if you check source code:
> https://github.com/apache/incubator-hawq/blob/master/src/interfaces/ecpg/ecpglib/pg_type.h
> {code}
> ...
> #define BPCHAROID             1042
> ...
> {code}
> We at least miss BPCHAR in the type table, maybe more.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to