Re: Can PostgreSQL do data type automated casting in

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Can PostgreSQL do data type automated casting in
Дата
Msg-id 6022BCB2-7A1B-47A2-AC85-CDBB7CBD127C@fastcrypt.com
обсуждение исходный текст
Ответ на Re: Can PostgreSQL do data type automated casting in  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Can PostgreSQL do data type automated casting in  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
You're on fairly shaky ground using "allowed by the spec" as
justification. I'm thinking there are far more instances where people
expect Oid unspecified to work than
instances where they are going to change the type of the IN parameter
in the same statement.

Given that the default behaviour adheres to the spec, I'm not too
worried about the case below failing under these specific
circumstances. I presume it passes with the 8.0,8.1 behaviour.

Dave

On 24-Nov-05, at 3:47 PM, Oliver Jowett wrote:

> Dave Cramer wrote:
>
>> Looking at the test case is this a realistic situation ? Would
>> anyone  really want to change the types of a parameter of a
>> statement ?
>
> It's allowed by the spec as far as I can tell, so we need to
> support it.
>
> -O
>


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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Why is bool == java.sql.Types.BIT ??
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Can PostgreSQL do data type automated casting in