Re: Regression in 8.3?
От | Tom Lane |
---|---|
Тема | Re: Regression in 8.3? |
Дата | |
Msg-id | 6645.1194884769@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Regression in 8.3? (hubert depesz lubaczewski <depesz@depesz.com>) |
Ответы |
Re: Regression in 8.3?
|
Список | pgsql-general |
hubert depesz lubaczewski <depesz@depesz.com> writes: > on the other hand. while i know and understand why there can't be "=" > operator for text and int, i think that "like" could be readded as it is > really clear about how it works. Really? regression=# select '8.12345678901234567890' ~~ '%67890' ; ?column? ---------- t (1 row) regression=# select '8.12345678901234567890'::numeric ~~ '%67890' ; ?column? ---------- t (1 row) regression=# select '8.12345678901234567890'::float8 ~~ '%67890' ; ?column? ---------- f (1 row) regression=# select '8.12345678901234567890'::char(50) ~~ '%67890' ; ?column? ---------- f (1 row) Yup, the behavior of LIKE before 8.3 was just as datatype-independent as could be. regards, tom lane
В списке pgsql-general по дате отправления: