JBuilder2 and colons/typecasting

Поиск
Список
Период
Сортировка
От bcurnow
Тема JBuilder2 and colons/typecasting
Дата
Msg-id Pine.LNX.3.95.990204143513.1604B-100000@sonnet1.sonnet.com
обсуждение исходный текст
Список pgsql-interfaces
Hello,

I was just curious if anyone out there has run into the JBuilder2 problem
that trips up on query strings that contain colons or double colons for
typecasting?

Has anyone found an easy workaround?  It is supposed to be fixed in the
next patch or rev after 2.01.

And a separate curiosity of mine:  Why does a query plan sometimes change
when you explicitly typecast a match attribute to it's actual type?

WHERE lastupdated::date='2-1-1999' AND ...
vs
WHERE lastupdated='2-1-1998' AND ...

lastupdated was a 'date' type, and I got a faster executing plan (using
Hash joins) with the explicit type cast, but I think the slower plan had a
lower cost.

----------------- Brian  Curnow ----------------


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

Предыдущее
От: Russ Welti
Дата:
Сообщение: blob and ImageView: backend dies when jdbc tries to read from it!
Следующее
От: Thomas Good
Дата:
Сообщение: ANNOUNCEMENT...SQL-Ledger 0.1.1