data type of projected item in a union not correct

Поиск
Список
Период
Сортировка
От the6campbells
Тема data type of projected item in a union not correct
Дата
Msg-id CAFEjsq6LYuK-gtJmg3fa+QLmOr7fsRvUErrbZSQC=jADuXnRfg@mail.gmail.com
обсуждение исходный текст
Ответы Re: data type of projected item in a union not correct  (David Johnston <polobo@yahoo.com>)
Re: data type of projected item in a union not correct  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Database 9.0.4
Driver PostgreSQL 9.1 JDBC4 (build 902)


The following projection is not described with the expected type+precision as one would expect from ISO-SQL

Is this a known Postgres bug, quirk or ....

t1.c1 char(32)
t2.c1 varchar(32)

select t1.c1 returns precision of 32
select t2.c1 returned precision of 32


t1.c1
union
t2.c1

t2.c1
union
t1.c1

returns precision 2147483647



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: David Johnston
Дата:
Сообщение: Re: Bug in AbstracJdbc2Statement.replaceProcessing when using dollar quoting?
Следующее
От: David Johnston
Дата:
Сообщение: Re: data type of projected item in a union not correct