Re: migration problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: migration problem
Дата
Msg-id 27010.1211041659@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: migration problem  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
Craig Ringer <craig@postnewspapers.com.au> writes:
> That function hits the database repeatedly. If the problem is in fact
> with a database query that it's generating you need to determine which
> one. You could step through the function with a PHP debugger or just
> insert log/printing statements in the function so you can see its progress.

Even easier, turn on query logging (log_statement = all), run the
function, and then look in the postmaster log to see what happened.

7.3 is a long time back, and I wouldn't be surprised if you are hitting
some compatibility issues in trying to make the jump to 8.3 in one step.
It's hard to tell what though ... I don't find that PHP code very
readable.

            regards, tom lane

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

Предыдущее
От: iSteve
Дата:
Сообщение: tsearch2 on-demand dictionary loading & using functions in tsearch2
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: writing a function without installing a language