Re: binding 64-bit integer

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: binding 64-bit integer
Дата
Msg-id 20122.1177137623@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: binding 64-bit integer  ("flying2001us@yahoo.com" <flying2001us@yahoo.com>)
Список pgsql-general
"flying2001us@yahoo.com" <flying2001us@yahoo.com> writes:
> After change the SQL clause to "SELECT * from mytable WHERE mykey=$1::int8", the binding passed!

If you had to insert an explicit cast, it means that "mykey" isn't int8,
which makes one wonder why you are bothering.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Modify existing index
Следующее
От: RPK
Дата:
Сообщение: Re: Modify existing index