>к базе PostgreSQL и вытаскивали оттуда информацию. А на новом сарвере
>эти же странички не хотят работать.
При апгрейде 7.1.x на 7.2.x нужно внимательно читать HISTORY (раздел Migration to version 7.2) - там очень много скользких моментов, единственный выход - читать и тутже проверять в коде подозрительные места, при необходимости приводить запросы к новому виду.
Как минимум:
* The semantics of the "VACUUM" command have changed in this release. You may wish to update your maintenance procedures accordingly.
* In this release, comparisons using = NULL will always return false (or
NULL, more precisely). Previous releases automatically transformed
this syntax to IS NULL. The old behavior can be re-enabled using a
"postgresql.conf" parameter.
* The "pg_hba.conf" and "pg_ident.conf" configuration is now only
reloaded after receiving a SIGHUP signal, not with each connection.
* The function "octet_length()" now returns the uncompressed data length.
* The date/time value 'current' is no longer available. You will need to
rewrite your applications.
* The timestamp() function is no longer available. Use timestamp
'string' instead, or CAST.
The SELECT ... LIMIT #,# syntax will be removed in the next release. You
should change your queries to use separate LIMIT and OFFSET clauses,
e.g. LIMIT 10 OFFSET 20.