Re: Question about debugging bootstrapping and catalog entries

Поиск
Список
Период
Сортировка
Искать
От
Takayuki Tsunakawa
Тема
Re: Question about debugging bootstrapping and catalog entries
Дата
Msg-id
012701c72307$54b04590$19527c0a@OPERAO
Список
Дерево обсуждения
Question about debugging bootstrapping and catalog entries Gregory Stark <stark@enterprisedb.com>
Re: Question about debugging bootstrapping and catalog entries Martijn van Oosterhout <kleptog@svana.org>
Re: Question about debugging bootstrapping and catalog entries "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: Question about debugging bootstrapping and catalog entries Gregory Stark <stark@enterprisedb.com>
Re: Question about debugging bootstrapping and catalog Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: Question about debugging bootstrapping and catalog Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: Question about debugging bootstrapping and catalog entries Tom Lane <tgl@sss.pgh.pa.us>
Re: Question about debugging bootstrapping and catalog entries "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: Question about debugging bootstrapping and catalog entries Tom Lane <tgl@sss.pgh.pa.us>
Re: Question about debugging bootstrapping and catalog entries "Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>
Re: Question about debugging bootstrapping and catalog entries Martijn van Oosterhout <kleptog@svana.org>
Re: Question about debugging bootstrapping and catalog entries Alvaro Herrera <alvherre@commandprompt.com>
Re: Question about debugging bootstrapping and catalog Andrew Dunstan <andrew@dunslane.net>
Re: Question about debugging bootstrapping and catalog Gavin Sherry <swm@linuxworld.com.au>
From: "Takayuki Tsunakawa" How about mimicing postgres with a script that starts gdb to run
> postgres?  That is, rename the original postgres module to
> postgres.org and create a shell script named postgres like this:
>
> #!/bin/bash
> gdb postgres $*

Sorry, this should be postgres.org $*.

----- Original Message ----- 
From: "Takayuki Tsunakawa" 
To: "Gregory Stark" ; "PostgreSQL Hackers"

Sent: Tuesday, December 19, 2006 9:37 AM
Subject: Re: [HACKERS] Question about debugging bootstrapping and
catalog entries


> Hello, Mr. Stark
>
>> Are there any tricks people have for debugging bootstrapping
> processing? I
>> just need to know what index it's trying to build here and that
> should be
>> enough to point me in the right direction:
>
> As Mr. Lane says, it would be best to be able to make postgres sleep
> for an arbitrary time.  The direction may be either a command line
> option or an environment variable (like BOOTSTRAP_SLEEP) or both.
iI
> think the env variable is easy to handle n this case.
>
> How about mimicing postgres with a script that starts gdb to run
> postgres?  That is, rename the original postgres module to
> postgres.org and create a shell script named postgres like this:
>
> #!/bin/bash
> gdb postgres $*
>
> Tell me if it works.
>
>
>
>
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
>                http://www.postgresql.org/about/donate
>



В списке pgsql-hackers по дате отправления
От: Takayuki Tsunakawa
Дата:
От: Bruce Momjian
Дата:
FAQ