Re: Postgresql Segfault in 8.1

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Postgresql Segfault in 8.1
Дата
Msg-id 20060125174659.GB4474@ns.snowman.net
обсуждение исходный текст
Ответ на Re: Postgresql Segfault in 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Postgresql Segfault in 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Benjamin Smith <lists@benjamindsmith.com> writes:
> > What's the best way to do this? Take PG down (normally started as a service)
> > and run directly in a single-user mode?
>
> No, just start a psql session in one window, then in another window
> determine the PID of the backend process it's connected to, and attach
> gdb to that process.  Something like
>
>         ps auxww | grep postgres:
>         ... eyeball determination of correct PID ...

You can also do 'select pg_backend_pid();' from psql...  I know that's
there on 8.1, though I recall this was an 8.0 discussion and I *think*
it's there too but not 100% sure.

    Enjoy,

        Stephen

Вложения

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: table is not a table
Следующее
От: MargaretGillon@chromalloy.com
Дата:
Сообщение: Re: Constraint that compares and limits field values