|
|
|
Массивы-константы
|
|||
|---|---|---|---|
|
#18+
Как сравнить массив-константу с элементами типа smallint с колонкой таблицы типа smallint? Т.е. что-то вроде ... WHERE '{1,2,3,4,5}' *= column ... Ругается "Unable to identify an operator '*=' for types 'unknown' and 'smallint' You will have to retype this query using an explicit cast". CAST( '{1,2,3,4,5}' AS smallint[] ) тоже работать не хочет - на [] ругается. Неужели этого в PgSQL сделать нельзя? :-( ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.09.2002, 07:29:05 |
|
||
|
|

start [/forum/topic.php?fid=53&msg=32051503&tid=2008303]: |
0ms |
get settings: |
11ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
155ms |
get topic data: |
9ms |
get forum data: |
5ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 237ms |
| total: | 486ms |

| 0 / 0 |
