Re: Changed Hosts, Lots of Errors in PostgreSQL - Help Please!
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Changed Hosts, Lots of Errors in PostgreSQL - Help Please! |
| Дата | |
| Msg-id | 16072.1208741138@sss.pgh.pa.us обсуждение |
| Ответ на | Changed Hosts, Lots of Errors in PostgreSQL - Help Please! (BLazeD <gibbasanti@hotmail.com>) |
| Список | pgsql-general |
BLazeD <gibbasanti@hotmail.com> writes:
> [quote]PHP Warning: pg_query(): Query failed: ERROR: operator does not
> exist: timestamp without time zone > time without time zone at character
> 14
Well, it's quite right, there is no such operator.
PG 8.3 complains about this, whereas previous versions would have
silently converted both operands to text and done a textual comparison
... leading to results that are highly unlikely to be sane at all,
for this combination of datatypes. I'd say 8.3 just found a bug in
your app for you.
> [quote]PHP Warning: pg_query(): Query failed: ERROR: function
> pg_catalog.btrim(bigint) does not exist at character 62
Again, this is 8.3 being more picky about implicit casts than prior
versions. Why would you think btrim on an integer value would be
useful, anyway? If you really want it, insert an explicit cast
to text.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера