|
|
|
Массивы-константы
|
|||
|---|---|---|---|
|
#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 |
|
||
|
|

start [/forum/topic.php?fid=53&gotonew=1&tid=2008303]: |
0ms |
get settings: |
11ms |
get forum list: |
23ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
96ms |
get topic data: |
13ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
50ms |
get tp. blocked users: |
2ms |
| others: | 247ms |
| total: | 462ms |

| 0 / 0 |
