Re: ERROR: operator does not exist: integer !=- integer

Поиск
Список
Период
Сортировка
От William ZHANG
Тема Re: ERROR: operator does not exist: integer !=- integer
Дата
Msg-id esga5o$1nde$1@news.hub.org
обсуждение исходный текст
Ответ на Re: ERROR: operator does not exist: integer !=- integer  (Andrew - Supernews <andrew+nonews@supernews.com>)
Список pgsql-hackers
I get it. scan.l converts '!=' to '<>':
   644                     /* Convert "!=" operator to "<>" for 
compatibility */   645                     if (strcmp(yytext, "!=") == 0)   646                         yylval.str =
pstrdup("<>");  647                     else   648                         yylval.str = pstrdup(yytext);
 


""Joshua D. Drake"" <jd@commandprompt.com>
>
> Well yes it will work if you add a space, but technically the problem is 
> the query should be written like this:
>
> 1 <>-1 or 1 <> -1
>
> Joshua D. Drake 




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

Предыдущее
От: Sherry Moore
Дата:
Сообщение: Re: Bug: Buffer cache is not scan resistant
Следующее
От: Sherry Moore
Дата:
Сообщение: Re: NTA access on Solaris