Re: Question about debugging bootstrapping and catalog entries

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>
Cc: "Gregory Stark" <stark(at)enterprisedb(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Question about debugging bootstrapping and catalog entries
Date: 2006-12-18 12:22:40
Message-ID: 65937bea0612180422h5ab8032aifc2fee1defcf356e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/18/06, Martijn van Oosterhout <kleptog(at)svana(dot)org> wrote:
>
> If you get an error, you put a breakpoint on errfinish(). Note, that
> gets called even on messages you don't normally see, so you may have to
> skip a couple to get the real message.

You wouldn't need to skip anything if you put the breakpoint inside the '
if (elevel == ERROR)' code-block in errfinish(). It will stop only for an
ERROR.

Regards,

--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-12-18 12:28:25 Re: Question about debugging bootstrapping and catalog entries
Previous Message Gregory Stark 2006-12-18 12:14:26 Re: Question about debugging bootstrapping and catalog entries