Re: NEED HELP !

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: NEED HELP !
Дата
Msg-id 603c8f071001131121o4f827b2cn174bc1f4e14e20a9@mail.gmail.com
обсуждение исходный текст
Ответ на NEED HELP !  (Sergej Galkin <sergej.galkin@gmail.com>)
Список pgsql-hackers
On Wed, Jan 13, 2010 at 1:42 PM, Sergej Galkin <sergej.galkin@gmail.com> wrote:
> I can not understand why DB is restarting ? It is restarting when SQL begins
> use index :(((
> Can anybody help me , I would by appretiate every people who downloads my
> sources, try to deploy index and maybe solve where is the problem.

Your code is probably crashing.  Before trying to use the index, run
"select pg_backend_pid()" in the backend that you're going to try to
use it from.  Then use "gdb -p <pid>" to attach gdb to the backend.
Type "c" for continue.  Now run the query that crashes it.  gdb will
trap the signal and you can use "bt" to get a backtrace.

I don't think it would be appropriate for us to help you debug your
class project, but learning to use gdb should help you a lot.

Also see:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

...Robert


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: plpython3
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby and query cancel