Explicit typing of numeric types

Поиск
Список
Период
Сортировка
От Alaric B. Snell
Тема Explicit typing of numeric types
Дата
Msg-id Pine.LNX.4.43.0201151039550.2861-100000@calvin.frontwire.com
обсуждение исходный текст
Ответы Re: Explicit typing of numeric types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
Guys,

After a painful experience with int8 indices not being used for:

SELECT * FROM foo WHERE id = 1;

...since 1 is an int4 not an int8, I'm wondering if there would be
anything wrong with making the JDBC driver always put out explicit type
declarations?

Eg, setLong emitting 1 :: int8. setString emitting 'foo' :: text. Etc.
Whaddyathink?

ABS

--
Alaric B. Snell, Developer
abs@frontwire.com


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

Предыдущее
От: Ryouichi Matsuda
Дата:
Сообщение: Re: Failure in timestamptz of JDBC of 7.2b4
Следующее
От: "Vianen, Jeroen van"
Дата:
Сообщение: Re: Problem with getImportedKeys / getExportedKeys