Re: Debug Contrib/cube code

From: Nick Raj <nickrajjain(at)gmail(dot)com>
To: Joshua Tolley <eggyknap(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Debug Contrib/cube code
Date: 2011-05-13 16:09:58
Message-ID: BANLkTikbCbik0mspXoLKt+vpfhjrSXW3cQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I am able to debug postgres by --enable-debug but breakpoint in cube is not
working. Can you more elaborate on your second point?
Even i also tried to change makefile of contrib/cube by -g(debug) but it
gives error.
Any idea is welcome.

ps: sorry for late reply

Thanks

On Thu, May 12, 2011 at 6:42 AM, Joshua Tolley <eggyknap(at)gmail(dot)com> wrote:

> On Fri, May 06, 2011 at 10:43:23AM +0530, Nick Raj wrote:
> > Hi,
> > I am using postgresql-8.4.6. I want to debug the contrib/cube code. Can
> we
> > able to debug that cube code? Because there is no .configure file to
> > enable debug. Is there is any way to change make file to enable debug?
>
> If your postgres build uses --enable-debug, cube should use it as well. It
> determines this either through pg_config, or by referring to makefiles in
> the
> postgres source directory contrib/cube lives in.
>
> --
> Joshua Tolley / eggyknap
> End Point Corporation
> http://www.endpoint.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk3LNAsACgkQRiRfCGf1UMMtUQCeJHmpy5PrHX8UG48sYe3EHlmQ
> SdEAnA9WCw5vFcklpCrJYDVc/yqo9FtH
> =FKXd
> -----END PGP SIGNATURE-----
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fanbin Meng 2011-05-13 16:33:22 Link error when use functions of PGtypes
Previous Message Dickson S. Guedes 2011-05-13 15:50:10 Re: How to handle bogus nulls from ActiveRecord