Re: [HACKERS] debug flag

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: sthomas(at)cise(dot)ufl(dot)edu (Shiby Thomas)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] debug flag
Date: 1998-01-19 21:55:22
Message-ID: 199801192155.QAA00904@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> Hi,
>
> If I want to compile the PostgreSQL 6.2.1 code with the -g flag, which Makefile
> should I add it. I would like to run it thru a debugger. I am compiling it
> with gcc; so I should be able to use xgdb, right?
>
> The sort cost in the planner is assumed to be 0. So, there is an unfair bias
> towards sort-merge join in the optimizer. If I want to add a sort cost, will
> it be enough to add it in the make_sortplan() function in
> optimizer/plan/planner.c.
> Is the size of the relation to be sorted estimated at that time?
> If not what is the best way to do this?

I think this is fixed in 6.3. Beta is Feb 1.

--
Bruce Momjian
maillist(at)candle(dot)pha(dot)pa(dot)us

In response to

  • debug flag at 1998-01-19 19:34:15 from Shiby Thomas

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-01-19 22:12:55 Re: [HACKERS] debug flag
Previous Message Bruce Momjian 1998-01-19 21:54:25 Re: [HACKERS] Max tuple size.