Fixes about SQLDescribeCol() or SQLColAttribute().
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sun, 19 Mar 2017 06:04:47 +0000 (15:04 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sun, 19 Mar 2017 11:38:42 +0000 (20:38 +0900)
commit7f9ec377dd1149fd68a6e938cf9af61d46e139a6
treee7c2342d373f31c7a9522febaed17e89cca304cc
parentbd4b6b683a309ae0a25ee36868aa37852bdec341
Fixes about SQLDescribeCol() or SQLColAttribute().
1. Report the size of constant strings using Unknown Sizes as Longest.
2. Correct the inconsistency between the sqltype of PG_TYPE_TEXT or PG_TYPE_UNKNOWN and the size in case of Unknown Sizes as Longeset.
pgtypes.c
results.c
test/expected/colattribute.out
test/expected/colattribute_1.out
test/expected/colattribute_2.out