Re: weird quote bug
От | Karsten Hilbert |
---|---|
Тема | Re: weird quote bug |
Дата | |
Msg-id | 20030630135317.C622@hermes.hilbert.loc обсуждение исходный текст |
Ответ на | weird quote bug (Shane Wright <me@shanewright.co.uk>) |
Список | pgsql-general |
> This shows that the row exists in the table: > > emystery=> select aid,useragent from useragent where useragent like '%ntserver-ps%'; > aid | useragent > -----------+--------------------------------------------------------------------------------------------------------- > 875741007 | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; file://\\ntserver-ps\publicsw\nt\ie6\ins\active.ins) Are you sure there's no trailing whitespace on this string ? Because this: > emystery=> select * from useragent > where useragent ilike > 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; file://\\\\ntserver-ps\\publicsw\\nt\\ie6\\ins\\active.ins)'; ^ would not match trailing whitespace. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
В списке pgsql-general по дате отправления: